GearBlocks
The GearBlocks Lua scripting API
List of all members
SmashHammer.UI.ButtonImage Class Reference

A image button UI element. More...

Inheritance diagram for SmashHammer.UI.ButtonImage:
SmashHammer.UI.Element SmashHammer.UI.IButton SmashHammer.UI.IImage SmashHammer.UI.IElement SmashHammer.UI.ISizeable SmashHammer.UI.IRotatable

Additional Inherited Members

- Public Types inherited from SmashHammer.UI.ISizeable
enum  Align : byte {
  LeftEdge , RightEdge , TopEdge , BottomEdge ,
  HorizEdges , VertEdges , HorizCentre , VertCentre
}
 UI element alignment mode. More...
 
void SetAlignment (Align align, float paramA, float paramB)
 Set the element's alignment.
 
void SetRotation (float angle)
 Set the element's rotation.
 
- Properties inherited from SmashHammer.UI.Element
virtual bool IsVisible [get, set]
 Is the element visible?
 
- Properties inherited from SmashHammer.UI.IElement
bool IsVisible [get, set]
 Is the element visible?
 
bool IsInteractable [get, set]
 Is the element interactable?
 
bool IsTargetable [get, set]
 Is the element targetable?
 
- Properties inherited from SmashHammer.UI.IImage
TextureProxy Texture [get, set]
 The image's texture.
 
RectProxy UVRect [get, set]
 The image's texture UV rect.
 
Color32Proxy Colour [get, set]
 The image's colour.
 
- Events inherited from SmashHammer.UI.IButton
ValueChangedHandler OnClick
 Event that is raised when the button is clicked.
 

Detailed Description

A image button UI element.