LightObjectDataType: {
    content: {
        color: string;
        debugMode: boolean;
        radius: number;
        texture: string;
    };
}

Type declaration

  • content: {
        color: string;
        debugMode: boolean;
        radius: number;
        texture: string;
    }

    The base parameters of light object.

    • color: string

      A string representing color in hexadecimal format.

    • debugMode: boolean

      true if the light objects shows debug graphics, false otherwise.

    • radius: number

      The radius of light object.

    • texture: string

      A string representing the name of texture used for light object.