adbrown85 / rapidgl

Rapid prototyping for OpenGL
GNU General Public License v3.0
1 stars 1 forks source link

Add support for hiding nodes #83

Open adbrown85 opened 11 years ago

adbrown85 commented 11 years ago

Could do a lot with just groups being the only node that could be hidden. In the example below my-group-hider effectively keeps my-group from being drawn. However, my-group can still be drawn by instantiating it with an instance node.

<group id="my-group-hider" hidden="true">
    <group id="my-group">
        <cube />
        <square />
    </group>
</group>