A TriangleArray object contains an array of triangles to be used to create a TriangleMesh shape.
A TriangleArray object can be constructed with PhysicsDevice.createTriangleArray.
Summary
Array of floating point values representing the vertices used by the triangles, there are 3 values for each vertex.
Syntax
var vertices = triangleArray.vertices;
Note
Read Only
Summary
Array of integers representing the indices of the vertices used by each triangle, there are 3 values per triangle.
Syntax
var indices = triangleArray.indices;
Note
Read Only