How to use PickingInfo method to get the texture coordinates2 of where the pick occurred?

I want to add heat maps to the model when the mouse clicks on the model ,but the heat map requires a second set of UVs to read the model.
So I need to use PickingInfo method to get the texture coordinates2 of where the pick occurred.But I don’t know how to get the texture coordinates2 of where the pick occurred.
Now I’m using getTextureCoordinates() in my example.

This PR will allow you to pass the uv set when calling getTextureCoordinates (so, in your case, you will have to pass “uv2”):

2 Likes

Thank you very much for your help.