Arbor 3: FSM & BT Graph Editor  3.7.8
DataSlot Class Referenceabstract

Slot for connecting a calculator node. More...

Inheritance diagram for DataSlot:
IDataSlot InputSlotBase OutputSlotBase RerouteSlot InputSlot< T > InputSlotAny InputSlotTypable OutputSlot< T > OutputSlotAny OutputSlotTypable InputSlotComponent< T > OutputSlotComponent< T >

Public Member Functions

abstract void Disconnect ()
 Disconnect the connection. More...
 
abstract void ClearBranch ()
 Clear the connection status. More...
 

Public Attributes

NodeGraph nodeGraph
 State machine slot belongs More...
 
Rect position
 Position on ArborEditor of slot(Editor Only) More...
 

Properties

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...
 

Events

System.Action< bool > onConnectionChanged
 Callback event when connection is changed More...
 

Detailed Description

Slot for connecting a calculator node.

Member Function Documentation

◆ ClearBranch()

abstract void ClearBranch ( )
pure virtual

Clear the connection status.

Since the DataBranch remains, call it when the connection status is no longer needed by copy and paste.

Implemented in RerouteSlot, OutputSlotBase, and InputSlotBase.

◆ Disconnect()

abstract void Disconnect ( )
pure virtual

Disconnect the connection.

Implements IDataSlot.

Implemented in OutputSlotBase, InputSlotBase, and RerouteSlot.

Member Data Documentation

◆ nodeGraph

NodeGraph nodeGraph

State machine slot belongs

◆ position

Rect position

Position on ArborEditor of slot(Editor Only)

Property Documentation

◆ dataType

abstract System.Type dataType
get

The type of data stored in the slot

◆ slotType

abstract SlotType slotType
get

Slot type

Event Documentation

◆ onConnectionChanged

System.Action<bool> onConnectionChanged

Callback event when connection is changed