ThreePipe
    Preparing search index...

    Interface ViewOverrideLightingPreset

    A lighting preset of ViewOverridesPlugin: preset lights ('lights') or an environment map ('env')

    interface ViewOverrideLightingPreset {
        group: "lights" | "env";
        key: string;
        label: string;
        lights?: () => Light<
            LightShadow<Camera<Object3DEventMap>>
            | undefined,
            Object3DEventMap,
        >[];
        url?: string;
    }
    Index
    group: "lights" | "env"
    key: string

    Unique key, passed to ViewOverridesPlugin.setLighting

    label: string
    lights?: () => Light<
        LightShadow<Camera<Object3DEventMap>>
        | undefined,
        Object3DEventMap,
    >[]

    Creates the lights for the 'lights' group. Called on each use; the lights are disposed when the preset is turned off.

    url?: string

    HDR/EXR url for the 'env' group. Loaded on the first use, then cached.