Taos API Reference
    Preparing search index...

    Interface ProbeBakeRequest

    One probe's bake request for a single frame. The manager fills these, one per probe that needs an update this frame, and passes them to the capture pass via ReflectionProbeCapturePass.setBakeRequests.

    interface ProbeBakeRequest {
        slot: number;
        position: { x: number; y: number; z: number };
        contentMode: 0 | 1 | 2;
        faceViewProjs: Mat4[];
        meshes?: ProbeCaptureMesh[];
    }
    Index

    Properties

    slot: number

    Slot in the cube-array texture (0..MAX_PROBES - 1).

    position: { x: number; y: number; z: number }

    Probe world position (cube capture center).

    contentMode: 0 | 1 | 2

    0 = sky, 1 = sky + clouds, 2 = scene.

    faceViewProjs: Mat4[]

    Six face view-projection matrices, +X,-X,+Y,-Y,+Z,-Z (same order as PointLight).

    meshes?: ProbeCaptureMesh[]

    Mesh draws used only when contentMode === 2.