Skip to content

Hid/unHide Nodes in a Scene #855

Answered by robertosfield
ztef asked this question in Q&A
Jun 19, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

The vsg::Switch node is designed for switch off the traversal of it's children. Each child of the Switch has a Mask (a 64bit mask( that is combined with the Visitor's traversalMask and if it's not 0 then the child is traversed.

To switch on a child use vsg::MASK_ALL, and switch off a child use vsg::MASK_OFF.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@WdsPjm
Comment options

@robertosfield
Comment options

Answer selected by vsg-dev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants