Define the ScenesManager.

interface ScenesManager {
    node: Object3D;
    boundingBox: Box3;
    samplers: Sampler[];
    materialsTextures: MaterialTexture[];
    scenes: ChildDescriptor[];
    meshes: Mesh[];
    meshesDescriptors: MeshDescriptor[];
    getScenesNodes: (() => Object3D[]);
}

Properties

node: Object3D

Object3D used as a parent for all scenes nodes.

boundingBox: Box3

Final computed bounding box of the scenes.

samplers: Sampler[]

Array of Sampler used by this ScenesManager.

materialsTextures: MaterialTexture[]

Array of MaterialTexture describing the material, Texture and Sampler relationship.

scenes: ChildDescriptor[]

Array of scenes as ChildDescriptor.

meshes: Mesh[]

Array of created Mesh to render this ScenesManager scene.

meshesDescriptors: MeshDescriptor[]

Array of MeshDescriptor used to create the meshes.

getScenesNodes: (() => Object3D[])

Utility helper to get all the Object3D created by this ScenesManager

Type declaration