Model.GetMesh

Mesh GetMesh(int subsetIndex)

[Obsolete] For removal in v0.4. Use Nodes/Visuals.Mesh instead. Gets a link to the Mesh asset used by the model subset! Note that this is not necessarily a unique mesh, and could be shared in a number of other places. Consider copying and replacing it if you intend to modify it!

   
int subsetIndex Index of the model subset to get the Mesh for, should be less than SubsetCount.
RETURNS: Mesh A link to the Mesh asset used by the model subset at subsetIndex