Go to: Related nodes. Attributes.

This node is used to choose between one of many inputs. The selector attribute's value is an integer that specifies the index of which of the input multi-attributes should be passed on to the output.

Node nameParentsClassificationMFn typeCompatible function sets
choicenodeutility/scalar:drawdb/shader/operation/choicekChoicekBase
kNamedObject
kDependencyNode
kChoice

Related nodes

plusMinusAverage, reverse, vectorProduct, chooser, blend, blendTwoAttr, blendWeighted, blendDevice

Attributes (3)

input, output, selector

Long name (short name)TypeDefaultFlags
input (i) generic typed datanullptrarrayoutputinputconnectablestorable
Multi-input for which selector chooses the output
output (o) generic typed datanullptroutputconnectable
Multi-attribute input indexed by selector
selector (s) integer0outputinputconnectablestorablekeyable
Index determining which input is passed on to output