[x3d-public] LayoutGroup derived from X3DNode

Holger Seelig holger.seelig at yahoo.de
Sat Oct 25 08:33:27 PDT 2025


If LayoutGroup is to be derived from X3DNode, then there is the problem that LayoutGroup can no longer be a child of a LayoutGroup, but that is already specified and makes a lot of sense. Why: LayoutGroup children/addChildren/removeChildren only accept X3DChildNode nodes as type.

In 36.4.2 LayoutGroup is written:
Thus, a LayoutGroup can only be a child of a LayoutLayer node or another LayoutGroup node.

https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/layout.html#LayoutGroup

Best regards,
Holger

—
Holger Seelig
holger.seelig at yahoo.de


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20251025/0306b436/attachment.html>


More information about the x3d-public mailing list