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 nameParentsClassificationMFn typeCompatible function sets

Related nodes

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

Attributes (1)


Long name (short name)TypeDefaultFlags
objectId (id) addrNULLoutputinputconnectablehidden
The objectId of the sample points object