Mesh.GetVerts

Vertex[] GetVerts()

This marshalls the Mesh’s vertex data into an array. If KeepData is false, then the Mesh is not storing verts on the CPU, and this information will not be available.

Due to the way marshalling works, this is not a cheap function!

   
RETURNS: Vertex[] An array of vertices representing the Mesh, or null if KeepData is false.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!