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

Public Member Functions

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

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
 

Member Function Documentation

override void ORKFramework.UI.DisplayImage.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseImage.