Define a ChildDescriptor.

interface ChildDescriptor {
    name?: string;
    node: Object3D;
    children: ChildDescriptor[];
}

Properties

Properties

name?: string

Optional name if available in the GLTF json.

node: Object3D

Object3D describing the transformations of this child.

children: ChildDescriptor[]

Optional children of this child.