Extract mesh from component for DecalGeometry #1098
Unanswered
maxibenner
asked this question in
Q&A
Replies: 1 comment
-
I just realised that you can get all this glorious information from the event object on the mesh. Great job everyone! |
Beta Was this translation helpful? Give feedback.
0 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 am not quite sure as how to get the mesh from the mesh component in order to use it with the extended DecalGeometry. Do I have to restructure and create the mesh beforehand with new "THREE.Mesh()"?
I am also having trouble with the many arguments of "new DecalGeometry( mesh, position, orientation, size )". How would I pass the individual values into args? So far I have only come across the args of e.g. boxBufferGeometry which just accepts a simple array of values.
Any help would be greatly appreciated. I couldn't find any pointers over the last couple days.
Beta Was this translation helpful? Give feedback.
All reactions