Define a ChildDescriptor.

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

Properties

index?: number

Index of the glTF Node used by this child.

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.