Table of Contents

Method GetInputLink

Namespace
Pinwheel.Vista.Graph
Assembly
Pinwheel.Vista.Runtime.dll

Resolves the upstream source for an input slot.

public SlotRef GetInputLink(SlotRef inputSlot)

Parameters

inputSlot SlotRef

The input slot to resolve.

Returns

SlotRef

The connected upstream output slot, the slot registered to a linked variable, or Pinwheel.Vista.Graph.SlotRef.invalid when the input is unconnected.

Variable indirection is resolved here, so callers receive the final effective source slot rather than the raw edge stored in the graph.

Resolves the upstream source for a specific input slot identified by node and slot id.

public SlotRef GetInputLink(string nodeId, int slotId)

Parameters

nodeId string
slotId int

Returns

SlotRef