ORK Framework  2.29.3
API Documentation
ORKFramework.UI.HUDElementBounds Class Reference
Inheritance diagram for ORKFramework.UI.HUDElementBounds:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

Rect GetBounds (Rect contentBounds, Rect previousBounds)
Rect GetBoundsFinal (Rect contentBounds, Rect previousBounds)
void SetBounds (Rect bounds, Rect contentBounds, Rect previousBounds)
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...

Public Attributes

Vector2 position = Vector2.zero
TextAnchor anchor = TextAnchor.UpperLeft
TextAnchor relativeTo = TextAnchor.UpperLeft
bool useLastElement = false
float width = 100
bool isPercentWidth = true
bool adjustWidth = true
float height = 100
bool isPercentHeight = false
bool adjustHeight = true