The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:UIStyle_Data (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> UIRoot >> UIStyle_Data
Package: 
Engine
Direct subclasses:
UIStyle_Combo, UIStyle_Image, UIStyle_Text
This class in other games:
UT3

Contains information about how to present and format a widget's appearance.

Properties[edit]

bDirty[edit]

Type: bool

Modifiers: transient

True if the style's data need to be reapplied to the widgets using this style

bEnabled[edit]

Type: bool

Controls whether this style data is enabled in the owning style for its associated state

StyleColor[edit]

Type: Object.LinearColor

Color for this style

Default value:

Member Value
A 1.0
B 1.0
G 1.0
R 1.0

StylePadding[edit]

Type: float

Array size: 2 (EUIOrientation.UIORIENT_MAX)

The amount of padding to apply; values will be scaled based on the value of the DEFAULT_SIZE_Y const

UIEditorControlClass[edit]

Type: string

Modifiers: const, editoronly

name of custom wxStaticBox class used to edit this style type

Delegates[edit]

MatchesStyleData[edit]

delegate bool MatchesStyleData (const UIStyle_Data OtherStyle)

Allows script-only child classes to include properties when comparing two styles. OtherStyle is guaranteed to be valid and of the right type. This delegate is only called if it's assigned a value (i.e. assigned to a function).

Parameters:

  • OtherStyle - the style to compare this style's values against

Returns:

TRUE if all style property values are the same as the other style's or if the other style is same as this one