![]() |
ORK Framework
2.31.0
API Documentation
|
Public Member Functions | |
void | ShowRelative (Rect windowRect) |
GameObject | CreateRelative (GUIBox box, int siblingOffset) |
![]() | |
override void | SetData (DataObject data) |
Sets the variables of the class using a ORKFramework.DataObject. More... | |
void | Show () |
void | Show (float x, float y) |
ImageLabel | Create (float x, float y) |
![]() | |
void | Show (Rect bounds) |
ImageLabel | Create (Rect bounds) |
![]() | |
virtual DataObject | GetData () |
Gets a ORKFramework.DataObject representing the class. More... | |
virtual void | EditorAutoSetup (string fieldName) |
Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More... | |
Public Attributes | |
bool | isRelative = true |
TextAnchor | relativeTo = TextAnchor.UpperLeft |
![]() | |
Rect | bounds = new Rect(0, 0, 1920, 1080) |
![]() | |
bool | useImage = false |
AssetSource< Texture > | image |
int | color = 0 |
bool | useAlphaMask = false |
bool | useMaterial = false |
AssetSource< Material > | maskMaterial |
ScaleMode | scaleMode = ScaleMode.StretchToFill |
bool | alphaBlend = true |
float | imageAspect = 0 |