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

Implemented by

Properties

Methods

Properties

color: Color

Fog color.

Remarks

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

name: string

Optional name of the Fog object

Remarks

(doesn't need to be unique).

Default Value

""

Methods

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

    Returns FogBase

  • Return Fog data in JSON format.

    Returns any