I love the smell of UnrealEd crashing in the morning. – tarquin

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

ArchetypeToInstanceMap

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

Type: array<byte>

Modifiers: const


PI_CompleteObjects

Type: array<Object>

Modifiers: const


PI_LicenseePackageVersion

Type: int

Modifiers: const


Default value: -1

PI_ObjectMap

Type: Map{UObject*,INT}

Modifiers: const, native


PI_PackageVersion

Type: int

Modifiers: const

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

Default value: -1

PI_ReferencedObjects

Type: array<Object>

Modifiers: const


PI_SavedNames

Type: array<string>

Modifiers: const


SequenceInstance

Type: PrefabSequence

Modifiers: const

Kismet sequence that was created for this PrefabInstance.

TemplatePrefab

Type: Prefab

Modifiers: const

The prefab that this is an instance of.

TemplateVersion

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

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

Subobjects

Sprite

Class: Engine.SpriteComponent

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