[x3d-public] removeNamedNode removes DEF children?

Patrick Dähne pdaehne at gmail.com
Mon Jul 11 09:49:45 PDT 2022

> Thanks, very helpful. After the DEF name is removed, do the USE nodes still rrefer to the now nameless node ?

Yes. The scene graph does not care about DEF and USE, it is only needed to serialize the scene graph into a textual representation.

> Also, is there then a way to remove a node from the scene graph ?

Yes, send events to fields (usually Group.children or Group.removeChildren).



More information about the x3d-public mailing list