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

Public Member Functions

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 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

bool useImage = false
Texture image
int color = 0
bool useAlphaMask = false
bool useMaterial = false
Material maskMaterial
ScaleMode scaleMode = ScaleMode.StretchToFill
bool alphaBlend = true
float imageAspect = 0