Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoPathSwitch usage

VSG extension Demonstrate SoPathSwitch usage.

This example demonstrates the SoPathSwitch node behavior. In this example, a same sub-scene graph is used several times. When user pick a sphere, PathSwitch node is updated so that the Material is changed for the current traversal path.

FILES:

    • Inventor/Switch/PathSwitch/PathSwitch.cxx
    • Inventor/Switch/PathSwitch/scenegraph.iv

SEE ALSO

SoSwitch SoMultiSwitch SoInteractiveSwitch SoPathSwitch SoMultiPathSwitch

SCREENSHOT: