Method GetMeshVertexSpan
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
GetMeshVertexSpan(b3MeshData*)
Gets the vertices of a mesh as a span.
public static ReadOnlySpan<Vector3> GetMeshVertexSpan(b3MeshData* mesh)Parameters
meshb3MeshData*-
The mesh.
Returns
- ReadOnlySpan<Vector3>
-
The vertices, borrowed from the mesh.