I don't need to test my programs. I have an error-correcting modem.

UE3:UIFrameBox (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> UIRoot >> UIScreenObject >> UIObject >> UIContainer >> UIFrameBox
Package: 
Engine
This class in other games:
UT3

More configurable image widget that allows the user to specify 9 image components to have a background box that scales properly while maintaining the aspect ratio of its corners.

Properties

Property group 'Appearance'

BackgroundCornerSizes

Type: CornerSizes

Modifiers: editinline


Default value:

Member Value
BottomHeight 16.0
BottomLeft[0] 16.0
BottomLeft[1] 16.0
BottomRight[0] 16.0
BottomRight[1] 16.0
CenterLeftWidth 16.0
CenterRightWidth 16.0
TopHeight 16.0
TopLeft[0] 16.0
TopLeft[1] 16.0
TopRight[0] 16.0
TopRight[1] 16.0

Property group 'Components'

BackgroundImageComponent

Type: UIComp_DrawImage

Array size: 9

Modifiers: editinline, const, noclear

Component for rendering the background images

Default value, index 0: UIComp_DrawImage'TemplateTopLeft'

Default value, index 1: UIComp_DrawImage'TemplateTop'

Default value, index 2: UIComp_DrawImage'TemplateTopRight'

Default value, index 3: UIComp_DrawImage'TemplateCenterLeft'

Default value, index 4: UIComp_DrawImage'TemplateCenter'

Default value, index 5: UIComp_DrawImage'TemplateCenterRight'

Default value, index 6: UIComp_DrawImage'TemplateBottomLeft'

Default value, index 7: UIComp_DrawImage'TemplateBottom'

Default value, index 8: UIComp_DrawImage'TemplateBottomRight'

Default values

Property Value
bSupportsPrimaryStyle False
PrimaryStyle
Member Value
DefaultStyleTag 'PanelBackground'
RequiredStyleClass Class'Engine.UIStyle_Image'

Subobjects

TemplateBottom

Class: Engine.UIComp_DrawImage

Property Value
ImageStyle
Member Value
DefaultStyleTag 'PanelBackground'
StyleResolverTag 'Bottom Style'

TemplateBottomLeft

Class: Engine.UIComp_DrawImage

Property Value
ImageStyle
Member Value
DefaultStyleTag 'PanelBackground'
StyleResolverTag 'Bottom Left Style'

TemplateBottomRight

Class: Engine.UIComp_DrawImage

Property Value
ImageStyle
Member Value
DefaultStyleTag 'PanelBackground'
StyleResolverTag 'Bottom Right Style'

TemplateCenter

Class: Engine.UIComp_DrawImage

Property Value
ImageStyle
Member Value
DefaultStyleTag 'PanelBackground'
StyleResolverTag 'Center Style'

TemplateCenterLeft

Class: Engine.UIComp_DrawImage

Property Value
ImageStyle
Member Value
DefaultStyleTag 'PanelBackground'
StyleResolverTag 'Center Left Style'

TemplateCenterRight

Class: Engine.UIComp_DrawImage

Property Value
ImageStyle
Member Value
DefaultStyleTag 'PanelBackground'
StyleResolverTag 'Center Right Style'

TemplateTop

Class: Engine.UIComp_DrawImage

Property Value
ImageStyle
Member Value
DefaultStyleTag 'PanelBackground'
StyleResolverTag 'Top Style'

TemplateTopLeft

Class: Engine.UIComp_DrawImage

Property Value
ImageStyle
Member Value
DefaultStyleTag 'PanelBackground'
StyleResolverTag 'Top Left Style'

TemplateTopRight

Class: Engine.UIComp_DrawImage

Property Value
ImageStyle
Member Value
DefaultStyleTag 'PanelBackground'
StyleResolverTag 'Top Right Style'

WidgetEventComponent

Class: Engine.UIComp_Event

Inherits from: UIContainer.WidgetEventComponent

No new values.

Enums

EFrameBoxImage

Enum describing all of the image components used in this widget.

FBI_TopLeft 
FBI_Top 
FBI_TopRight 
FBI_CenterLeft 
FBI_Center 
FBI_CenterRight 
FBI_BottomLeft 
FBI_Bottom 
FBI_BottomRight 

Structs

CornerSizes

Modifiers: native

Sizes of the corners. The corner image components will always render at these sizes.

float TopLeft[2]  
float TopRight[2]  
float BottomLeft[2]  
float BottomRight[2]  
float TopHeight 
float BottomHeight 
float CenterLeftWidth 
float CenterRightWidth 

Instance functions

SetBackgroundImage

final function SetBackgroundImage (EFrameBoxImage ImageToSet, Surface NewImage)

Changes the background image for this panel, creating the wrapper UITexture if necessary.

Parameters:

  • NewImage - the new surface to use for this UIImage