Is it possible to get layer(primitives/roots) name like materials name function? #4662
Answered
by
elalish
mustafa-soylemez
asked this question in
Q&A
-
Is there a defined function or a way to get layer name from clicked position on model like materialFromPoint function? |
Beta Was this translation helpful? Give feedback.
Answered by
elalish
Feb 1, 2024
Replies: 1 comment 2 replies
-
Not sure what you mean by "layer", but we don't expose nodes/meshes (or their names) in our API. You can get the material and its name though. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, those are node/mesh names and we don't expose such a low level API here. We recommend making separate materials for anything you want independently selectable, and then use
materialFromPoint
.