Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE3:UTUICharacterPartMenuList (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
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

Property group 'UTUICharacterPartMenuList'

DefaultLight

Type: LightComponent

Light for the mesh widget.

Default value: DirectionalLightComponent'WidgetLight'

DefaultLight2

Type: LightComponent

Light for the mesh widget.

NormalMeshScale

Type: float

Scaling value for the mesh when it is not selected.

Default value: 1.0

SelectedMeshScale

Type: float

Scaling value for the mesh when it is selected.

Default value: 3.0

Internal variables

bAllowPartLoading

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

Type: array<PartMeshInfo>

Modifiers: transient


PartRotation

Type: Object.Vector

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

Default values

Property Value
bHorizontalList True
bSupports3DPrimitives True
bSupportsPrimaryStyle False
DefaultCellHeight 70.0

Subobjects

WidgetEventComponent

Class: Engine.UIComp_Event

Inherits from: UTUIMenuList.WidgetEventComponent

No new values.

WidgetLight

Class: Engine.DirectionalLightComponent

No new values.

Structs

PartMeshInfo

Modifiers: native

Array of part meshes, generated by RegenerateOptions.

SkeletalMeshComponent MeshComp 
Object.Vector Offset 
float Scale 
bool bHidden 

Functions

Native functions

RegenerateOptions

native function RegenerateOptions ()

Overrides: UTUIMenuList.RegenerateOptions

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

Events

DrawPanel

event DrawPanel ()

Overrides: UTSimpleList.DrawPanel

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

Other instance functions

DrawItem

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

function DrawSelectionBG (float YPos)

Overrides: UTSimpleList.DrawSelectionBG

Draw the selection Bar

ProcessInputKey

function bool ProcessInputKey (const out UIRoot.SubscribedInputEventParameters EventParms)

Overrides: UTSimpleList.ProcessInputKey

Input handling callback.