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

UE3:UTUICharacterPartMenuList (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> UIRoot >> UIScreenObject >> UIObject >> UTUI_Widget >> UTDrawPanel >> UTSimpleList >> UTUIMenuList >> UTUICharacterPartMenuList
Package: 
UTGame
Implemented interfaces
UIDataStoreSubscriber

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

Specific version of the menu list that draws a mesh in addition to an item background.

Properties[edit]

Property group 'UTUICharacterPartMenuList'[edit]

DefaultLight[edit]

Type: LightComponent

Light for the mesh widget.

Default value: DirectionalLightComponent'WidgetLight'

DefaultLight2[edit]

Type: LightComponent

Light for the mesh widget.

NormalMeshScale[edit]

Type: float

Scaling value for the mesh when it is not selected.

Default value: 1.0

SelectedMeshScale[edit]

Type: float

Scaling value for the mesh when it is selected.

Default value: 3.0

Internal variables[edit]

bAllowPartLoading[edit]

Type: bool

Whether or not to allow character parts to load, this will need to be set to true before the list will display any parts.

Meshes[edit]

Type: array<PartMeshInfo>

Modifiers: transient


PartRotation[edit]

Type: Object.Vector

Extra rotation to be applied to all parts, used to tweak the viewing angle of the part.

Default values[edit]

Property Value
bHorizontalList True
bSupports3DPrimitives True
bSupportsPrimaryStyle False
DefaultCellHeight 70.0

Subobjects[edit]

WidgetEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UTUIMenuList.WidgetEventComponent

No new values.

WidgetLight[edit]

Class: Engine.DirectionalLightComponent

No new values.

Structs[edit]

PartMeshInfo[edit]

Modifiers: native

Array of part meshes, generated by RegenerateOptions.

SkeletalMeshComponent MeshComp 
Object.Vector Offset 
float Scale 
bool bHidden 

Functions[edit]

Native functions[edit]

RegenerateOptions[edit]

native function RegenerateOptions ()

Overrides: UTUIMenuList.RegenerateOptions

Regenerates the list of objects and mesh components for this widget.

Events[edit]

DrawPanel[edit]

event DrawPanel ()

Overrides: UTSimpleList.DrawPanel

Render the list. At this point each cell should be sized, etc.

Other instance functions[edit]

DrawItem[edit]

function DrawItem (int ItemIndex, float XPos, out float YPos)

Overrides: UTSimpleList.DrawItem

Draws an item to the screen. NOTE this function can assume that the item being drawn is not the selected item

DrawSelectionBG[edit]

function DrawSelectionBG (float YPos)

Overrides: UTSimpleList.DrawSelectionBG

Draw the selection Bar

ProcessInputKey[edit]

function bool ProcessInputKey (const out UIRoot.SubscribedInputEventParameters EventParms)

Overrides: UTSimpleList.ProcessInputKey

Input handling callback.