UE3:UITexture (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
UDK Object >> UIRoot >> UITexture
Package:
Engine
This class in other games:

Acts as the raw interface for providing a texture or material to the UI.

Properties

ImageStyleData

Type: UIRoot.UICombinedStyleData

Modifiers: private, transient

Contains data for controlling or modifying how this image is displayed. Set by the object which owns this texture/material.

ImageTexture

Type: Surface

The texture or material that will be rendered by this UITexture. If not specified, will render the FallbackImage set in the ImageStyleData instead.

Functions

Native functions

GetOwnerWidget

native final function UIScreenObject GetOwnerWidget (optional out UIComponent OwnerComponent) const

Wrapper for retrieving the widget that owns this UITexture, if it's owned by a widget.

HasValidStyleData

native final function bool HasValidStyleData () const

Determines whether this UITexture has been assigned style data.

Returns:

TRUE if ImageStyleData has been initialized; FALSE otherwise

SetImageStyle

native final function SetImageStyle (UIStyle_Image NewImageStyle)

Initializes ImageStyleData using the specified image style.

Parameters:

  • NewImageStyle - the image style to copy values from

Other instance functions

GetSurface

final function Surface GetSurface ()

Returns the surface associated with this UITexture.