Define a PrimitiveInstanceDescriptor used to group Geometry instances and transform nodes and their MeshDescriptor.

interface PrimitiveInstanceDescriptor {
    instances: INode[];
    nodes: Object3D[];
    meshDescriptor: MeshDescriptor;
}

Properties

instances: INode[]

Array of GLTF Node describing the transforms and associated mesh.

nodes: Object3D[]

Array of Object3D corresponding to the instances.

meshDescriptor: MeshDescriptor

Unique MeshDescriptor used to create the instances Mesh.