Documentation
    Preparing search index...

    Interface PointLightSource

    A PunctualLightSourceBase with no axis — §68's point light.

    interface PointLightSource {
        color: readonly [number, number, number];
        intensity: number;
        isPunctualLight: true;
        lightType: "point";
        range: number;
        getWorldPosition(out: Vector3): Vector3;
    }

    Hierarchy (View Summary)

    Index
    color: readonly [number, number, number]

    Straight RGB in §60a's linear-light working space (§68).

    intensity: number

    Scalar multiplier on the colour: the irradiance, over π, at unit distance (§68; see @fourjs/scene's light.ts for the convention).

    isPunctualLight: true

    The brand collectSceneLights recognises. A literal true, not a method, so the check is one property load per node per frame.

    lightType: "point"
    range: number

    Distance at which the contribution reaches zero, or 0 for unbounded — the KHR_lights_punctual window @fourjs/scene's PunctualLight documents.