My program doesn't have bugs. It just develops random features.

Difference between revisions of "UE3:UIPanel (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
(Talk)
Line 82: Line 82:
 
{{code|final function '''SetBackgroundImage''' ({{cl|Surface}} '''NewImage''')}}
 
{{code|final function '''SetBackgroundImage''' ({{cl|Surface}} '''NewImage''')}}
  
<!-- enter function description -->
+
Changes the background image for this panel, creating the wrapper UITexture if necessary.
 +
 
 +
'''Parameters:'''
 +
* ''NewImage'' - the new surface to use for this UIImage

Revision as of 06:24, 17 January 2010

UDK Object >> UIRoot >> UIScreenObject >> UIObject >> UIContainer >> UIPanel
Package: 
Engine
Direct subclass:
ScriptConsoleEntry
This class in other games:
UT3

Base class for all containers which need a background image.

Properties

Property group 'Appearance'

bEnforceClipping

Type: bool

If ture, this panel will clip anything that attempts to render outside of it's bounds

Property group 'Components'

BackgroundImageComponent

Type: UIComp_DrawImage

Modifiers: editinline, const

Component for rendering the background image

Default value: UIComp_DrawImage'PanelBackgroundTemplate'

Default values

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

Subobjects

PanelBackgroundTemplate

Class: Engine.UIComp_DrawImage

Property Value
ImageStyle
Member Value
DefaultStyleTag 'PanelBackground'
StyleResolverTag 'Panel Background Style'

WidgetEventComponent

Class: Engine.UIComp_Event

Inherits from: UIContainer.WidgetEventComponent

No new values.

Instance functions

SetBackgroundImage

final function SetBackgroundImage (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