gpu-curtains
    Preparing search index...

    Interface LightParams

    Parameters used to create a Light.

    interface LightParams {
        label?: string;
        color?: Vec3;
        intensity?: number;
        type?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    label?: string

    Optional label of the Light.

    color?: Vec3

    The Light color. Default to Vec3(1).

    intensity?: number

    The Light intensity. Default to 1.

    type?: string

    Index of this Light, i.e. the number of time a Light of this type has been created.