Taos API Reference
    Preparing search index...

    Interface PointLightOptions

    Construction options for PointLight. Every field is optional and maps to the like-named property; omitted fields keep the property default. There is no position — a point light is placed by its GameObject's transform; see PointLight.worldPosition.

    interface PointLightOptions {
        color?: Vec3;
        intensity?: number;
        radius?: number;
        castShadow?: boolean;
        iesProfileIndex?: number;
    }
    Index

    Properties

    color?: Vec3

    Linear RGB color multiplier. Adopted by reference.

    intensity?: number

    Luminous intensity in candela (PointLight.intensity).

    radius?: number

    Attenuation radius (PointLight.radius).

    castShadow?: boolean

    Whether the light casts shadows (PointLight.castShadow).

    iesProfileIndex?: number

    IES profile LUT index (PointLight.iesProfileIndex).