vrdSwitchNode

class vrdSwitchNode

(Inherits vrdNode)

Switch node.

Functions

vrdSwitchNode.getChoice()

Returns the current choice

Returns:The choice.
Return type:integer
vrdSwitchNode.setChoice(choice)

Set the choice.

Choice defines which children should be rendered -2: Render all visible children, -1: Render no child, >=0: Render child with given index

Parameters:choice (integer) – Choice