Go to: Related nodes. Attributes.

Base class for switch nodes.

The switch has pairs of shape and shade connections. The output corresponds to a shade such that objectId (an implicit attribute resolved at sampling time) matches the shape. If there is no match the default is output. Using this node, object specific shaders, textures, or placements can be created. The base switch is not meant to be used in shading networks. See singleShadingSwitch, doubleShadingSwitch, and tripleShadingSwitch.

This node is abstract

Node name Parents Classification MFn type Compatible function sets
baseShadingSwitch dependNode
rendernode

Related nodes

blendColors, clamp, lightInfo, gammaCorrect, surfaceLuminance, contrast, luminance, rgbToHsv, hsvToRgb, samplerInfo, setRange, resolution, renderQuality, renderGlobals, renderGlobalsList, singleShadingSwitch, doubleShadingSwitch, tripleShadingSwitch

Attributes (1)

objectId

Long name (short name) Type Default Flags
objectId (id) addr NULL outputinputconnectablehidden
The objectId of the sample points object