DataSlot
Class in Arbor / Inherits from: object
Implements interfaces: IDataSlot
Description
Slot for connecting a calculator node.
Fields
Field Name | Description |
---|---|
nodeGraph | NodeGraph slot belongs |
overrideConstraint | override ClassConstraintInfo |
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. |
slotField | DataSlotField |
slotType | Slot type |
Events
Event Name | Description |
---|---|
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. |
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. |