⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Mesh.GetVerts

Vertex[] GetVerts()

This marshalls the vertex data of a custom format Mesh into an array of T. T’s [VertComponent] derived format must exactly match the format the Mesh was created with, and KeepData must be true for vertex data to 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!