ORK Framework  2.25.2
API Documentation
ORKFramework.BarImage Class Reference
Inheritance diagram for ORKFramework.BarImage:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
ImageLabel Create (Rect bounds, int interpolationColorID, float interpolate)
ImageLabel Create (Rect bounds, HUDBarFilling filling, float percentStart, float percentEnd, int interpolationColorID, float interpolate)
- 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 useImage = false
AssetSource< Texture > image
int color = 0
bool useAlphaMask = false
bool useMaterial = false
AssetSource< Material > maskMaterial
ScaleMode scaleMode = ScaleMode.StretchToFill
bool cropImage = false
bool alphaBlend = true
float imageAspect = 0

Member Function Documentation

◆ SetData()

override void ORKFramework.BarImage.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.