# RerouteSlot

Class in Arbor / Inherits from: DataSlot
Implements interfaces: IInputSlot, IOutputSlot

## Description

Slot used for midpoint of DataBranch.

## Constructors

| Description
--- | ---
RerouteSlot | RerouteSlot constructor

## Fields

Field Name | Description
--- | ---
inputBranchID | Input branch ID
outputBranchIDs | Output branch ID
type | Connectable value type

## Properties

Property Name | Description
--- | ---
dataType | The type of data stored in the slot
inputSlot | Access input slot interface
outputSlot | Access input slot interface
slotType | Slot type

## Methods

Method Name | Description
--- | ---
AddOutputBranch | Addition of DataBranch.
ClearBranch | Clear the connection status. Since the DataBranch remains, call it when the connection status is no longer needed by copy and paste.
Copy | For editor. Copy the connection status.
DirtyBranchCache | Mark the Data Branch cache to change
Disconnect | Disconnect the connection.
GetInputBranch | Get DataBranch.
GetOutputBranch | Get DataBranch.
GetOutputBranchCount | Get count of DataBranch.
IsConnectedInput | It judges whether it is connected with DataBranch.
IsConnectedOutput | It judges whether it is connected with DataBranch.
RemoveInputBranch | Remove DataBranch.
RemoveOutputBranch | Remove DataBranch.
SetInputBranch | Set DataBranch.

## Inherited Members

### 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
enabledGUI | Whether the GUI for the slot is valid.
isValidField | For Editor
isVisible | For Editor.
slotField | DataSlotField

### Events

Event Name | Description
--- | ---
onConnectionChanged | Callback event when connection is changed

### Methods

Method Name | Description
--- | ---
ClearVisible | For Editor.
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.