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

Public Member Functions

void CheckImages ()
 
void Create (ref List< BaseLabel > label, Rect bounds, float realValue, float displayedValue, float minValue, float maxValue)
 
void Create (ref List< BaseLabel > label, Rect bounds, float realValue, float displayedValue, float displayedValueMax, float minValue, float maxValue, bool isPreview)
 
- 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

HUDBarFilling filling = HUDBarFilling.LeftToRight
 
bool hideEmpty = false
 
bool interpolateColors = false
 
bool interpolateEmptyColors = false
 
bool interpolatePositiveColors = false
 
bool interpolatePositiveRangeColors = false
 
bool interpolateNegativeColors = false
 
bool interpolateNegativeRangeColors = false
 
bool useIcons = false
 
Vector2 icSize = new Vector2(30, 30)
 
float icOff = 0
 
float iconValue = 1
 
bool iconFromZero = false
 
ValueSetter iconSetter = ValueSetter.Value
 
bool imagesPerIcon = false
 
ValueBarImage [] image = new ValueBarImage[] {new ValueBarImage()}