Arbor 3: FSM & BT Graph Editor  3.7.8
InputSlot< T > Class Template Reference

Generic class of the input slot More...

Inheritance diagram for InputSlot< T >:
InputSlotBase DataSlot IInputSlot IValueContainer IDataSlot IDataSlot InputSlotComponent< T >

Public Member Functions

bool GetValue (ref T value)
 Get the value More...
 
- Public Member Functions inherited from InputSlotBase
void SetBranch (DataBranch branch)
 Set DataBranch. More...
 
bool RemoveBranch (DataBranch branch)
 Remove DataBranch. More...
 
bool ResetBranch ()
 Reset DataBranch More...
 
DataBranch GetBranch ()
 Get DataBranch. More...
 
bool IsConnected (DataBranch branch)
 It judges whether it is connected with DataBranch. More...
 
override void Disconnect ()
 Disconnect the connection. More...
 
override void ClearBranch ()
 Clear the connection status. More...
 
void SetInputBranch (DataBranch branch)
 Set DataBranch. More...
 
void RemoveInputBranch (DataBranch branch)
 Remove DataBranch. More...
 
DataBranch GetInputBranch ()
 Get DataBranch. More...
 
bool IsConnectedInput (DataBranch branch)
 It judges whether it is connected with DataBranch. More...
 

Protected Member Functions

override object GetValueObject ()
 Get the value object. More...
 

Properties

override System.Type dataType [get]
 The type of data stored in the slot More...
 
- Properties inherited from InputSlotBase
override SlotType slotType [get]
 Slot type More...
 
DataBranchbranch [get]
 Get branch 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...
 
- Properties inherited from DataSlot
abstract SlotType slotType [get]
 Slot type More...
 
abstract System.Type dataType [get]
 The type of data stored in the slot More...
 
- Properties inherited from IDataSlot
SlotType slotType [get]
 Slot type More...
 
System.Type dataType [get]
 The type of data stored in the slot More...
 

Additional Inherited Members

- Public Attributes inherited from InputSlotBase
int branchID
 Branch ID More...
 
- Public Attributes inherited from DataSlot
NodeGraph nodeGraph
 State machine slot belongs More...
 
Rect position
 Position on ArborEditor of slot(Editor Only) More...
 
- Events inherited from DataSlot
System.Action< bool > onConnectionChanged
 Callback event when connection is changed More...
 

Detailed Description

Generic class of the input slot

Template Parameters
TType of data

Member Function Documentation

◆ GetValue()

bool GetValue ( ref T  value)

Get the value

Parameters
valueThe value you get
Returns
Returns true if the value can be obtained.

◆ GetValueObject()

override object GetValueObject ( )
protectedvirtual

Get the value object.

Returns
Returns the value object.

Implements InputSlotBase.

Property Documentation

◆ dataType

override System.Type dataType
get

The type of data stored in the slot