Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[API] MFnMesh object : getting UV pointer?

0 REPLIES 0
Reply
Message 1 of 1
bastien.laby
303 Views, 0 Replies

[API] MFnMesh object : getting UV pointer?

Hello everyone.

 

The MFnMesh from the API provides two methods for accessing Positions and Normals vertex attributes : getRawPoints and getRawNormal. Both return a const float *. This is very usefull to avoid copying data, especially for very complex scenes.

 

Why the API doesn't provide a getRawUVs method ?
Is there a way to access directly to UVs pointer and avoid the copy of the UV data (by using getUVs method) ?

 

Thanks for your help. Have a great day.

 

 

 

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums