Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Hooks for decorating temporary slots and their flattened children.

    interface LoadChildrenOptions {
        configureSlot?: (slot: Group, child: SceneNode, index: number) => void;
        configureLoadedChild?: (
            object: Object3D,
            child: SceneNode,
            index: number,
        ) => void;
    }
    Index
    configureSlot?: (slot: Group, child: SceneNode, index: number) => void

    Configure the attached slot before its child starts loading.

    configureLoadedChild?: (
        object: Object3D,
        child: SceneNode,
        index: number,
    ) => void

    Configure each loaded object immediately before it replaces the slot.