Calculator
Class in Arbor / Inherits from: NodeBehaviour
Description
Class that defines the behavior of the State. Inherited and to use.
Remarks
Available Attributes :
Fields
Field Name | Description |
---|---|
recalculateMode | Recalculate mode |
Properties
Property Name | Description |
---|---|
calculatorID | Gets the Calculator identifier. |
calculatorNode | Get the CalculatorNode. |
isDirty | Whether it has been changed. |
Methods
Method Name | Description |
---|---|
Calculate | It is calculated, if necessary. |
OnCalculate | It called when it is calculated . |
OnCheckDirty | It is called when judging whether it has been changed. |
OnCreated | Raises the created event. |
SetDirty | Call if you want call OnCalculate. |
Inherited Members
Properties
Property Name | Description |
---|---|
calculatorSlotFieldCount | Number of DataSlotField |
dataSlotCount | Number of DataSlot |
dataSlotFieldCount | Number of DataSlotField |
node | Get the Node. |
nodeGraph | Gets the NodeGraph. |
nodeID | Gets the node identifier. |
Events
Event Name | Description |
---|---|
onValidate | Callback called during OnValidate |
Methods
Method Name | Description |
---|---|
ContainsSlot | Determine if the Data Slot is included. |
GetCalculatorSlotField | Get DataSlotField. |
GetDataSlot | Get DataSlot. |
GetDataSlotField | Get DataSlotField. |
Initialize | For Editor. |
OnGraphPause | This function is called when the graph is paused. |
OnGraphResume | This function is called when the graph resumes. |
OnGraphStop | This function is called when the graph stops. |
OnInitializeEnabled | Called to perform enabled initialization. |
OnPreDestroy | Raises the pre destroy event. |
OnRebuildFields | It is called when reconstructing data about fields. |
RebuildCalculatorSlotFields | Rebuild the DataSlotField. |
RebuildDataSlotFieldIfNecessary | Check if DataSlot exists and rebuild if necessary. |
RebuildDataSlotFields | Rebuild the DataSlotField. |
RebuildFields | For internal. |
UpdateDataLink | Manually update DataLink values. Update the value of DataLink field ofDataLinkUpdateTiming.Manual. |
Static Methods
Method Name | Description |
---|---|
CreateNodeBehaviour | For Editor. |
Destroy | Destroy NodeBehaviour. |