Documentation
    Preparing search index...

    Interface PunctualLightOptions

    Construction arguments shared by PointLight and SpotLight.

    interface PunctualLightOptions {
        color?: LightColorInput;
        intensity?: number;
        range?: number;
    }

    Hierarchy (View Summary)

    Index

    Initial color, copied into the light's own array as linear-light RGB. A CSS string is parsed as sRGB and decoded first (§60a). Defaults to white [1, 1, 1], §68's own example value.

    intensity?: number

    Initial PunctualLight.intensity. Defaults to 1 — the multiplicative identity, exactly as DirectionalLightOptions defaults it.

    range?: number

    Initial PunctualLight.range, in metres (§40). Defaults to 0, which means unbounded.