ORK Framework  2.31.0
API Documentation
ORKFramework.UI.RelativeImage Class Reference
Inheritance diagram for ORKFramework.UI.RelativeImage:
ORKFramework.UI.DisplayImage ORKFramework.BaseImage ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

void ShowRelative (Rect windowRect)
GameObject CreateRelative (GUIBox box, int siblingOffset)
- Public Member Functions inherited from ORKFramework.UI.DisplayImage
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)
- Public Member Functions inherited from ORKFramework.BaseImage
void Show (Rect bounds)
ImageLabel Create (Rect bounds)
- Public Member Functions inherited from ORKFramework.BaseData
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
- Public Attributes inherited from ORKFramework.UI.DisplayImage
Rect bounds = new Rect(0, 0, 1920, 1080)
- Public Attributes inherited from ORKFramework.BaseImage
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