I'm a doctor, not a mechanic

UE3:PrefabInstance (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Actor >> PrefabInstance
Package: 
Engine
This class in other games:
UT3

An Actor representing an instance of a Prefab in a level.

Properties[edit]

ArchetypeToInstanceMap[edit]

Type: Map{UObject*,UObject*}

Modifiers: const, native

Mapping from archetypes in the source prefab (TemplatePrefab) to instances of those archetypes in this PrefabInstance.

PI_Bytes[edit]

Type: array<byte>

Modifiers: const


PI_CompleteObjects[edit]

Type: array<Object>

Modifiers: const


PI_LicenseePackageVersion[edit]

Type: int

Modifiers: const


Default value: -1

PI_ObjectMap[edit]

Type: Map{UObject*,INT}

Modifiers: const, native


PI_PackageVersion[edit]

Type: int

Modifiers: const

Contains the epic+licensee version that this PrefabInstance's package was saved with.

Default value: -1

PI_ReferencedObjects[edit]

Type: array<Object>

Modifiers: const


PI_SavedNames[edit]

Type: array<string>

Modifiers: const


SequenceInstance[edit]

Type: PrefabSequence

Modifiers: const

Kismet sequence that was created for this PrefabInstance.

TemplatePrefab[edit]

Type: Prefab

Modifiers: const

The prefab that this is an instance of.

TemplateVersion[edit]

Type: int

Modifiers: const

The version of the Prefab that this is an instance of. This allows us to detect if the prefab has changed, and the instance needs to be updated.

Default values[edit]

Property Value
CollisionType COLLIDE_CustomDefault
Components[0] SpriteComponent'Sprite'

Subobjects[edit]

Sprite[edit]

Class: Engine.SpriteComponent

Property Value
AlwaysLoadOnClient False
AlwaysLoadOnServer False
bIsScreenSizeScaled True
HiddenGame True
ReplacementPrimitive None
ScreenSize 0.0025
Sprite Texture2D'EditorResources.PrefabSprite'