Mostly Harmless

UE3:PrefabInstance (UT3)

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

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

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

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: Sequence

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
HiddenGame True
Sprite Texture2D'EngineResources.PrefabSprite'