SoComplexitySwitch¶
- InventorModule¶
genre
author
package
dll
definition
inherits from
Purpose¶
The module SoComplexitySwitch traverses its children according to the current complexity value in the traversal state.
Usage¶
Connect this module’s output to a parent node and connect multiple scenes to its input.
Details¶
The traversed child is determined by calculating the term:
ChildIndex = int(ComplexityValue * NumChildren + 0.5)
If only two children are connected, the first is traversed only if the SoComplexityElement’s value is smaller than 0.5.
Input Fields¶
child¶
- name: child, type: SoNode¶
Output Fields¶
self¶
- name: self, type: SoNode¶