Hide/show parts #2860
Replies: 12 comments 3 replies
-
Not yet, but that's a direction we would like to take it. |
Beta Was this translation helpful? Give feedback.
-
This is a feature I would love to see added as well |
Beta Was this translation helpful? Give feedback.
-
So, this is actually possible, I just need to write an example for it. You need the part you want to hide to have its own glTF material, and set its We should add a helper function to select a material by name, but until then, you get find it by index or search the array for one with the right name. |
Beta Was this translation helpful? Give feedback.
-
We now have helper functions to select materials by name and by click: https://modelviewer.dev/docs/#entrydocs-scenegraph-methods-materialFromPoint |
Beta Was this translation helpful? Give feedback.
-
Is it possible to hide/show of parts of the model after loading using scene graph api for example?
Beta Was this translation helpful? Give feedback.
All reactions