Mostly Harmless
Difference between revisions of "UE3:UIButton (UDK)"
From Unreal Wiki, The Unreal Engine Documentation Site
(Talk) |
m (1 revision: class descriptions for UDK January update (part 5)) |
(No difference)
|
Latest revision as of 05:48, 17 January 2010
Object >> UIRoot >> UIScreenObject >> UIObject >> UIButton |
- Package:
- Engine
- Direct subclasses:
- UICheckbox, UILabelButton, UINumericEditBoxButton, UIOptionListButton, UIScrollbarButton, UTUIPressButton
- This class in other games:
- UT3
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Base class for all widget types which act as buttons. Buttons trigger events when they are clicked on or activated using the keyboard. This basic button contains only a background image.
Properties[edit]
Property group 'Components'[edit]
BackgroundImageComponent[edit]
Type: UIComp_DrawImage
Modifiers: editinline, const, noclear
Component for rendering the button background image
Default value: UIComp_DrawImage'BackgroundImageTemplate'
Property group 'Sound'[edit]
ClickedCue[edit]
Type: name
this sound is played when this widget is clicked
Default value: 'Clicked'
Default values[edit]
Property | Value | ||||||
---|---|---|---|---|---|---|---|
bSupportsPrimaryStyle | False | ||||||
DefaultStates[2] | Class'Engine.UIState_Focused' | ||||||
DefaultStates[3] | Class'Engine.UIState_Active' | ||||||
DefaultStates[4] | Class'Engine.UIState_Pressed' | ||||||
PrimaryStyle |
|
Subobjects[edit]
BackgroundImageTemplate[edit]
Class: Engine.UIComp_DrawImage
Property | Value | ||||
---|---|---|---|---|---|
ImageStyle |
|
||||
StyleResolverTag | 'Background Image Style' |
WidgetEventComponent[edit]
Class: Engine.UIComp_Event
Inherits from: UIObject.WidgetEventComponent
Property | Value | ||||||
---|---|---|---|---|---|---|---|
DefaultEvents[1] |
|
Instance functions[edit]
SetImage[edit]
final function SetImage (Surface NewImage)
Changes the background image for this button, creating the wrapper UITexture if necessary.
Parameters:
- NewImage - the new surface to use for this UIImage