webani - v1.0.0
    Preparing search index...

    Options for initializing a WebaniPointLight.

    type WebaniLightOptions = {
        color?: Vector3;
        intensity?: number;
        position?: Vector3;
        rotation?: Vector3;
    }
    Index

    Properties

    color?: Vector3

    The color of the light, represented as a vector (default is Colors.WHITE).

    intensity?: number

    The intensity of the light (default is 2e+10).

    position?: Vector3

    The position of the light in 3D space (default is [0, 0, 1]).

    rotation?: Vector3

    The rotation of the light in degrees around each axis (default is [0, 0, 0]).