I set useCameraNormal, I need to get it somewhere, using getNormal, what should be passed in the calldata parameter?
How can I get the normals of this widgetFactory
I set useCameraNormal, I need to get it somewhere, using getNormal, what should be passed in the calldata parameter?
If you use useCameraNormal
then callData
won’t be used, getNormal()
will return the camera normal. You can therefore pass {}
as callData
. Otherwise, you can look at the implementation of getNormal()
for the manipulator you have instanced and see what callData
it relies on (typically a mouse event call data)
Ok, i see, thank you very much