TriangleMesh.GetVerticesAndIndicesFromMesh()
TriangleMesh.GetVerticesAndIndicesFromMesh()
Just a quickie suggestion - the static method on TriangleMesh to get verts and indices from a Model is handy - would be cool to have one to read in vertices for a particular Mesh too, for models that are parsed apart into different pieces.
Re: TriangleMesh.GetVerticesAndIndicesFromMesh()
There actually is an internal "AddMesh" version which is used by the main GetVerticesAndIndicesFromModel method. There's no particular reason why it's internal; I'll switch it around in the next development version. In the mean time, it should only require changing the 'internal' to 'public' if you'd like to make the change yourself locally.
Re: TriangleMesh.GetVerticesAndIndicesFromMesh()
Thanks - ended up writing a static utility method that calls that AddMesh() method, worked good.