Arbor: State Diagram Editor  2.2.0
CalculatorBranch Class Reference

Line class that connects the calculator node to each other. More...

Public Member Functions

void SetBehaviour (Object inBehaviour, Object outBehaviour)
 Change Behavior. More...
 

Public Attributes

int branchID
 ID of branch. More...
 
bool enabled
 Whether to draw. More...
 
Object inBehaviour
 Input side Behaviour More...
 
Object outBehaviour
 Output side Behaviour More...
 
Bezier2D lineBezier
 Bezier curve of the line to be connected. More...
 

Properties

object value [get, set]
 get set the value. More...
 
object currentValue [get]
 Get the current value. More...
 
bool isUsed [get]
 Gets whether or not a value is used. More...
 
float updatedTime [get]
 Time that does not depend on timeScale when value is updated. More...
 
OutputSlot outputSlot [get]
 Get the output slot. More...
 
InputSlot inputSlot [get]
 Get the input slot. More...
 

Detailed Description

Line class that connects the calculator node to each other.

Member Function Documentation

void SetBehaviour ( Object  inBehaviour,
Object  outBehaviour 
)

Change Behavior.

Member Data Documentation

int branchID

ID of branch.

bool enabled

Whether to draw.

For the editor.

Object inBehaviour

Input side Behaviour

Bezier2D lineBezier

Bezier curve of the line to be connected.

For editor

Object outBehaviour

Output side Behaviour

Property Documentation

object currentValue
get

Get the current value.

InputSlot inputSlot
get

Get the input slot.

bool isUsed
get

Gets whether or not a value is used.

OutputSlot outputSlot
get

Get the output slot.

float updatedTime
get

Time that does not depend on timeScale when value is updated.

object value
getset

get set the value.

When connecting to the output slot of Calculator, update it as necessary and obtain it.