Replies: 1 comment 4 replies
-
wait, onCreated gives you the state model, of which btw react devtools have that feature, see it flashing? https://twitter.com/0xca0a/status/1135583842683838464 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to build the same feature that the Three Editor (https://threejs.org/editor/) has on the Scene tab, namely being able to iterate/view all the elements in the scene (the tree of meshes).
I've tried doing the following:
Now I have the Canvas object and I can inspect the scene, and following the children for each node. However, onCreated is only called once. Is there some event that is triggered when the scene's node have changed, so that I can update the 'scene outline'? Note that I'm created the scene outline outside the Canvas.
Beta Was this translation helpful? Give feedback.
All reactions