Class GraphPinReflectionData

The GraphPinReflectionData class provides reflection data for an input or output GraphPin.

Constructors

Properties

connectionType: EnumValueTyped<GraphPinConnectionType, number>

The pin connection type.

The corresponding reflection field.

isInspectable: boolean

Determines if the pin value is inspectable in the graph object inspector.

name: string

Name of the pin

pinType: EnumValueTyped<GraphPinType, number>

The pin type.

type: GraphType

The GraphType of the pin.

visibilityAttribute: GraphPinVisibilityAttribute

The conditional visibility attribute.

Accessors

  • get isControlFlow(): boolean
  • Determines if the pin is a control flow pin.

    Returns boolean

  • get isInput(): boolean
  • Determines if this is an input pin.

    Returns boolean

  • get isOutput(): boolean
  • Determines if this is an output pin.

    Returns boolean

Methods

  • Determines if the pin is visible for the specified graphNode.

    Parameters

    Returns boolean

    This API should only be called if the graph has the GraphNodeFlags.ConditionalPinVisibility flag.