GearBlocks
The GearBlocks Lua scripting API
Properties | List of all members
SmashHammer.UI.IElement Interface Reference

Provides access to a UI element's properties. More...

Inheritance diagram for SmashHammer.UI.IElement:
SmashHammer.UI.Element SmashHammer.UI.ButtonImage SmashHammer.UI.ButtonText SmashHammer.UI.Dropdown SmashHammer.UI.Image SmashHammer.UI.InputField SmashHammer.UI.Label SmashHammer.UI.LabelledDropdown SmashHammer.UI.LabelledInputField SmashHammer.UI.LabelledNumberField SmashHammer.UI.LabelledSlider SmashHammer.UI.LabelledToggle SmashHammer.UI.NumberField SmashHammer.UI.ScrollView SmashHammer.UI.Shapes SmashHammer.UI.Slider SmashHammer.UI.TimeSeriesGraph SmashHammer.UI.Toggle

Properties

bool IsVisible [get, set]
 Is the element visible?
 
bool IsInteractable [get, set]
 Is the element interactable?
 
bool IsTargetable [get, set]
 Is the element targetable?
 

Detailed Description

Provides access to a UI element's properties.

Property Documentation

◆ IsVisible

bool SmashHammer.UI.IElement.IsVisible
getset

Is the element visible?

true if this element is visible; otherwise, false.

Implemented in SmashHammer.UI.Element.

◆ IsInteractable

bool SmashHammer.UI.IElement.IsInteractable
getset

Is the element interactable?

true if this element is interactable; otherwise, false.

◆ IsTargetable

bool SmashHammer.UI.IElement.IsTargetable
getset

Is the element targetable?

true if this element is targetable (i.e. mouse pointer blocking); otherwise, false.