Mostly Harmless
UE3:UITexture (UDK)
From Unreal Wiki, The Unreal Engine Documentation Site
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. |
Acts as the raw interface for providing a texture or material to the UI.
Properties[edit]
ImageStyleData[edit]
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[edit]
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[edit]
Native functions[edit]
GetOwnerWidget[edit]
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[edit]
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[edit]
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[edit]
GetSurface[edit]
final function Surface GetSurface ()
Returns the surface associated with this UITexture.