This patch improves the scene DOM to make it easier to build up custom tags and properties and monitor changes in them. It was written as part of my work getting physics attached to the scene, but it's not specifically related to it.
As well as event observation changes, I've also split out Element and SpatialElement, so we have a base class that doesn't necessarily need a position/rotation/scale. Right now, audio is the only element that's non-spatial, but in principle you could have others (I used it for <physics>, <material>, etc)
This patch improves the scene DOM to make it easier to build up custom tags and properties and monitor changes in them. It was written as part of my work getting physics attached to the scene, but it's not specifically related to it.
As well as event observation changes, I've also split out Element and SpatialElement, so we have a base class that doesn't necessarily need a position/rotation/scale. Right now, audio is the only element that's non-spatial, but in principle you could have others (I used it for
<physics>
,<material>
, etc)