On 8/5/07, Xinguo Liu <[EMAIL PROTECTED]> wrote:
> Hi, I currently hide an object by removing the corresponding node from
> the scene graph.
> Is there any simple way, like ->hide(), or ->disable()? Thanks!

Hi Xinguo,

You can set the node mask to 0, which will affectively prevent it from
being rendered.

node->setNodeMask(0);

-Farshid
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to