interface FogBase {
    color: Color;
    name: string;
    clone(): FogBase;
    toJSON(): any;
}

Implemented by

Properties

Methods

Properties

color: Color

Fog color.

If set to black, far away objects will be rendered black.

name: string

Optional name of the Fog object

(doesn't need to be unique).

""

Methods

  • Returns a new Fog instance with the same parameters as this one.

    Returns FogBase

  • Return Fog data in JSON format.

    Returns any