Always snap to grid

UE3:UIPrefabInstance (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT3 Object >> UIRoot >> UIScreenObject >> UIObject >> UIPrefabInstance

Contents

Package: 
Engine
This class in other games:
UDK

This widget class is a container for widgets which are instances of a UIPrefab.

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

[edit] Properties

[edit] ArchetypeToInstanceMap

Type: Map{UObject*,UObject*}

Modifiers: const, native

Mapping from archetypes in the SourcePrefab to instances of those archetypes in this UIPrefabInstance. Used by UpdatePrefabInstance to determine the archetypes which were added to SourcePrefab since the last time this UIPrefabInstance was updated, as well as tracking which widgets have been removed from this UIPrefabInstance by the user.

This map holds references to all objects in the UIPrefab and UIPrefabInstance, including any components and subobjects. A NULL key indicates that the widget was removed from the UIPrefab; the instance associated with the NULL key will be removed from the UIPrefabInstance's list of children the next time that UpdateUIPrefabInstance is called. A NULL value indicates that the user manually removed an instanced widget from the UIPrefabInstance. When this UIPrefabInstance is updated, that widget archetype will not be re-instanced.

[edit] PI_Bytes

Type: array<byte>

Modifiers: editoronly, const


[edit] PI_CompleteObjects

Type: array<Object>

Modifiers: editoronly, const


[edit] PI_DataOffset

Type: int

Modifiers: editoronly, const

the offset into PI_Bytes for this UIPrefabInstance's property data

[edit] PI_LicenseePackageVersion

Type: int

Modifiers: editoronly, const


Default value: -1

[edit] PI_ObjectMap

Type: Map{UObject*,INT}

Modifiers: const, native


[edit] PI_PackageVersion

Type: int

Modifiers: editoronly, const

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

Default value: -1

[edit] PI_ReferencedObjects

Type: array<Object>

Modifiers: editoronly, const


[edit] PI_SavedNames

Type: array<string>

Modifiers: editoronly, const


[edit] PrefabInstanceVersion

Type: int

Modifiers: const

The version for this UIPrefabInstance. When the value of PrefabInstanceVersion does not match the value of SourcePrefab's PrefabVersion, it indicates that SourcePrefab has been updated since the last time this UIPrefabInstance was updated.

[edit] SourcePrefab

Type: UIPrefab

Modifiers: const, archetype

The prefab that this is an instance of.

[edit] Subobjects

[edit] WidgetEventComponent

Class: Engine.UIComp_Event

Inherits from: UIObject.WidgetEventComponent

No new values.

[edit] Native functions

[edit] DetachFromSourcePrefab

native final function DetachFromSourcePrefab ()

Converts all widgets in this UIPrefabInstance into normal widgets and removes the UIPrefabInstance from the scene.