five-on-it / apps/tools/src/editor-project / BinaryGeometry
Interface: BinaryGeometry
Defined in: apps/tools/src/editor-project.ts:141
What the export needs of a file packBinaryGeometry wrote: the triangles and the sub-meshes.
Properties
indices
indices:
number[]
Defined in: apps/tools/src/editor-project.ts:145
Triangle vertex indices.
positions
positions:
number[]
Defined in: apps/tools/src/editor-project.ts:143
Vertex positions, three numbers each.
subMeshes?
optionalsubMeshes?:SubMeshJson[]
Defined in: apps/tools/src/editor-project.ts:147
The sub-meshes, when the file holds them.