DataSlot

Class in Arbor / Inherits from: object
Implements interfaces: IDataSlot, IOverrideConstraint

Description

Slot for connecting a calculator node.

Fields

Field Name Description
nodeGraph NodeGraph slot belongs
position Position on ArborEditor of slot(Editor Only)

Properties

Property Name Description
connectableType Connectable type
connectableTypeName Connectable type name
dataType The type of data stored in the slot
enabledGUI Whether the GUI for the slot is valid.
isValidField For Editor
isVisible For Editor.
overrideConstraint override ClassConstraintInfo
slotField DataSlotField
slotType Slot type

Events

Event Name Description
onConnectableTypeChanged Called when the connectable type changes.
onConnectionChanged Callback event when connection is changed

Methods

Method Name Description
ClearBranch Clear the connection status. Since the DataBranch remains, call it when the connection status is no longer needed by copy and paste.
ClearVisible For Editor.
ConnectableTypeChanged Called when the connectable type is changed.
DirtyBranchCache Mark the Data Branch cache to change
Disconnect Disconnect the connection.
GetConstraint Return information on type constraints.
IsConnectable It is judged whether connection is possible.
SetVisible For Editor.

Static Methods

Method Name Description
IsConnectable Determine if DataSlots can connect to each other.