ORK Framework  2.25.2
API Documentation
ORKFramework.Formulas.Formula Class Reference
Inheritance diagram for ORKFramework.Formulas.Formula:
ORKFramework.BaseNode ORKFramework.BaseIndexData ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 Formula (string n)
float Calculate (FormulaCall call)
float CalculatePreview (FormulaCall call)
override string GetNodeName ()
override string GetNodeDetails ()
override string GetNextName (int index)
override bool IsRemovable ()
override int GetNextCount ()
override int GetNext (int index)
override void SetNext (int index, int next)
- Public Member Functions inherited from ORKFramework.BaseNode
int GetFirstFree ()
- 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

string name = ""
int typeID = 0
bool useMinValue = false
float minValue = 0
bool useMaxValue = false
float maxValue = 0
FormulaFloat startValue = new FormulaFloat()
FormulaOperator formulaOperator = FormulaOperator.Add
int startIndex = -1
BaseFormulaStep [] step = new BaseFormulaStep[0]
- Public Attributes inherited from ORKFramework.BaseNode
Vector2 nodePosition = new Vector2(38, 38)
bool overrideNodeName = false
string nodeName = ""

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0
- Properties inherited from ORKFramework.BaseNode
virtual bool IsEnabled [get]
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]