ORK Framework  2.22.0
API Documentation
ORKFramework.Events.EventFloat Class Reference
Inheritance diagram for ORKFramework.Events.EventFloat:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 EventFloat (float value)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
float GetValue (BaseEvent baseEvent)
 
string GetInfoText ()
 
- 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

NumberValueType type = NumberValueType.Value
 
VariableOrigin origin = VariableOrigin.Global
 
MultiFloatValueUse multiVariableUseType = MultiFloatValueUse.First
 
StringValue selectedKey
 
bool useObject = true
 
EventObjectSetting fromObject
 
string objectID = ""
 
string name = ""
 
bool isInt = false
 
EventObjectSetting userObject
 
EventObjectSetting targetObject
 
int formulaID = 0
 
float initialValue = 0
 
float offset = 0
 
bool isUTC = false
 
float value = 0
 
float value2 = 0
 
Rounding rounding = Rounding.None
 

Member Function Documentation

override void ORKFramework.Events.EventFloat.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.