Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTUICharacterPartMenuList

Extends
UTUIMenuList
Modifiers
native ( UIFrontEnd ) placeable

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. Specific version of the menu list that draws a mesh in addition to an item background.

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIScreenObject
      |   
      +-- Engine.UIObject
         |   
         +-- UTGame.UTUI_Widget
            |   
            +-- UTGame.UTDrawPanel
               |   
               +-- UTGame.UTSimpleList
                  |   
                  +-- UTGame.UTUIMenuList
                     |   
                     +-- UTGame.UTUICharacterPartMenuList

Variables Summary
boolbAllowPartLoading
array<PartMeshInfo>Meshes
vectorPartRotation
UTUICharacterPartMenuList
LightComponentDefaultLight
LightComponentDefaultLight2
floatNormalMeshScale
floatSelectedMeshScale
Inherited Variables from UTGame.UTUIMenuList
bIsRotating, DataProvider, DataSource, MenuListItems, SelectedIndexDataSource, StartRotationTime
Inherited Variables from UTGame.UTSimpleList
AboveBelowCellHeightMultiplier, AboveBelowColor, ArrowColor, ArrowImage, BarPosition, bDownArrowPressed, bDragging, bHideScrollArrows, bHorizontalList, bHotTracking, bInvalidated, bIsMouseOverMenu, bIsUsingMouseNavigation, bTransitioning, BubbleRadius, bUpArrowPressed, bWrapList, DefaultCellHeight, DownArrowBounds[4], DragAdjustment, LastMouseUpdate, LastRenderTime, List, ListHeightInPixel, NormalColor, NormalTextOffset, NormalTextPadding, OldBarPosition, OldSelection, ResScaling, ScrollWidthRatio, SelectedColor, SelectedTextOffset, SelectedTextPadding, Selection, SelectionAlpha, SelectionBarColor, SelectionCellHeightMultiplier, SelectionImage, SelectionImageBarU, SelectionImageBarUL, SelectionImageBarV, SelectionImageBarVL, SelectionImageIconBGU, SelectionImageIconBGUL, SelectionImageIconBGV, SelectionImageIconBGVL, SelectionPos, ShadowColor, ShadowDist, StartSelectionTime, TargetWindowTop, TextFont, Top, TransitionTime, UpArrowBounds[4], WindowHeight, WindowTop, WindowTopTransitionTime

Structures Summary
PartMeshInfo
MeshComp, Offset, Scale, bHidden
Inherited Structures from UTGame.UTSimpleList
SimpleListData

Functions Summary
function DrawItem (int ItemIndex, float XPos, out float YPos))
event DrawPanel ()))
function DrawSelectionBG (float YPos))
functionbool ProcessInputKey (const out SubscribedInputEventParameters EventParms ))
function RegenerateOptions ()
Inherited Functions from UTGame.UTUIMenuList
ClearBoundDataStores, FindCellFieldString, GetBoundDataStores, GetCellFieldString, GetCellFieldValue, GetCurrentItem, GetDataStoreBinding, ItemChosen, NotifyDataStoreValueUpdated, PostInitialize, RefreshSubscriberValue, RegenerateOptions, SelectItem, SetDataStoreBinding, SetIndex
Inherited Functions from UTGame.UTSimpleList
AddItem, CalculateSelectionBGPosition, ComputeListHeightWithSelection, CursorCheck, DrawItem, DrawPanel, DrawSelectionBG, DrawSpecial, DrawStringToFit, Empty, Find, FindTag, GetDefaultCellHeight, GetItemHeightInPixels, GetItemScale, GetMousePosition, GetSelectedCellHeight, GetSupportedUIActionKeyNames, GetTag, GetText, ImportStringList, InsertItem, InterpLinearColor, IsMouseOverMenu, ItemChosen, LinearColorToColor, MouseInBounds, OnMouseOverMenu, PgDn, PgUp, PostInitialize, ProcessInputAxis, ProcessInputKey, RefreshBarPosition, RemoveItem, RemoveString, ResolveText, SelectItem, SelectUnderCursor, SetBarPositionUsingMouseY, SetItemSelectionIndex, SizeList, SortList, ToStrings, UpdateAnimation, UpdateMouseOverMenu


Variables Detail

bAllowPartLoading Source code

var bool bAllowPartLoading;
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 Source code

var transient array<PartMeshInfo> Meshes;

PartRotation Source code

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

UTUICharacterPartMenuList

DefaultLight Source code

var(UTUICharacterPartMenuList) LightComponent DefaultLight;
Light for the mesh widget.

DefaultLight2 Source code

var(UTUICharacterPartMenuList) LightComponent DefaultLight2;
Light for the mesh widget.

NormalMeshScale Source code

var(UTUICharacterPartMenuList) float NormalMeshScale;
Scaling value for the mesh when it is not selected.

SelectedMeshScale Source code

var(UTUICharacterPartMenuList) float SelectedMeshScale;
Scaling value for the mesh when it is selected.


Structures Detail

PartMeshInfo Source code

struct PartMeshInfo
{
var bool bHidden;
var SkeletalMeshComponent MeshComp;
var vector Offset;
var float Scale;
};
Array of part meshes, generated by RegenerateOptions.


Functions Detail

DrawItem Source code

function DrawItem ( int ItemIndex, float XPos, out float YPos) )
Draws an item to the screen. NOTE this function can assume that the item being drawn is not the selected item

DrawPanel Source code

event DrawPanel ( ) )
Render the list. At this point each cell should be sized, etc.

DrawSelectionBG Source code

function DrawSelectionBG ( float YPos) )
Draw the selection Bar

ProcessInputKey Source code

function bool ProcessInputKey ( const out SubscribedInputEventParameters EventParms ) )
Input handling callback.

RegenerateOptions Source code

native function RegenerateOptions ( )
Regenerates the list of objects and mesh components for this widget.


Defaultproperties

defaultproperties
{
   Begin Object Class=DirectionalLightComponent Name=WidgetLight ObjName=WidgetLight Archetype=DirectionalLightComponent'Engine.Default__DirectionalLightComponent'
      Name="WidgetLight"
      ObjectArchetype=DirectionalLightComponent'Engine.Default__DirectionalLightComponent'
   End Object
   DefaultLight=WidgetLight
   SelectedMeshScale=3.000000
   NormalMeshScale=1.000000
   DefaultCellHeight=70.000000
   bHorizontalList=True
   bSupportsPrimaryStyle=False
   bSupports3DPrimitives=True
   Begin Object Class=UIComp_Event Name=WidgetEventComponent ObjName=WidgetEventComponent Archetype=UIComp_Event'UTGame.Default__UTUIMenuList:WidgetEventComponent'
      ObjectArchetype=UIComp_Event'UTGame.Default__UTUIMenuList:WidgetEventComponent'
   End Object
   EventProvider=WidgetEventComponent
   Name="Default__UTUICharacterPartMenuList"
   ObjectArchetype=UTUIMenuList'UTGame.Default__UTUIMenuList'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:58.130 - Created with UnCodeX