SpaceTriangleMesh
data class SpaceTriangleMesh(val vertices: Array<Vector3>, val indices: IntArray)
Represents a triangle mesh associated with an anchor.
Contains the vertex positions and triangle indices that define the mesh geometry. This information is available for anchors with the
SpaceComponentType.TriangleMesh component.
| Name | Summary |
|---|
SpaceTriangleMesh | constructor(vertices: Array< Vector3>, indices: IntArray) |
| Name | Summary |
|---|
indices | val indices: IntArray
Integer array defining the triangle indices (groups of 3 indices form triangles) |
vertices | val vertices: Array< Vector3> Array of 3D positions defining the mesh vertices |