Table of Contents

Method GetFirstTextureBasedSlot

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

GetFirstTextureBasedSlot(INode)

Returns the first output slot whose adapter exposes either MaskSlot or ColorTextureSlot.

public static ISlot GetFirstTextureBasedSlot(this INode node)

Parameters

node INode

Node whose output slots will be scanned.

Returns

ISlot

The first texture-based output slot, or null when none exists.