I have played a bit with adding user properties to nodes in the scene. I see that we can use Model.addPropertyToNode to add string properties using a string key to a node in the scenegraph.
Some of our scene nodes are created from objects in our model. What we would like to do is to add an object reference (or pointer if you will) on the scene node so we can easily link back to the object the node represents in the scene. Is this possible with the Typescript API?
Right now, we store a map in our application to link some scene node ID to some objects in our model. It is kind of challenging to guarantee there is no discrepancy between the scene graph and this map.