Switch

Proxy class hierarchy

SwitchProxy : GroupNodeProxy : Traversable

Fields implemented

choice Yes.
whichChoice Yes.

Implementation details

The implementation of the functionality of the switch node is encapsulated in the Effects data that is passed into the PreRender() method, and also in the DrawableNode::InitPreRender() method. This later method is called by the PreRender() method of every drawable node, and returns FALSE when a node has been switched off.