
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am having some difficulty figuring out how to access UV information in an MNMesh. I have the following code:
IMNMapFace fmap = f_map.F(faceIdx);
When I try to get the Vertex array in the fmap I am running into trouble. According to the SDK, the following returns an IntPtr to the array
IPoint3 uvert = f_map.V(the_fmap.Tv[0]);
My problem is the_fmap.Tv portion. I can't figure out how to get the array of UVs used in the Mapface.
I have tried other routes to access the data including MNMesh.Mv but this can sometimes return the wrong data is the UV is shared among several faces in different locations in the UV map. Basically my C# skills are not good enough to figure out how to access this data.
Does anyone have any tips or a code snippet that shows how to do this?
Thanks
Todd
Solved! Go to Solution.