Skip to main content

Interface: MeshContract

api.MeshContract

Contract describing triangulated meshes.

Properties#

faces#

• faces: number[]

Flattened array of faces for the mesh. Each face consist three vertex indices.

Defined in#

api/contracts/MeshContract.ts:9


vertices#

• vertices: number[]

Flattened array of vertices for the mesh. Each vertex consists of X, Y and Z coordinates in the camera reference frame.

Defined in#

api/contracts/MeshContract.ts:16