Interface FogBase

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

Properties

Methods

Properties

name: string

Optional name of the Fog object

(doesn't need to be unique).

""

color: Color

Fog color.

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

Methods

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

    Returns FogBase

  • Return Fog data in JSON format.

    Returns any