@three-tile/plugin
    Preparing search index...

    Class MapFog

    Hierarchy

    • FogExp2
      • MapFog
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Parameters

      • controls: OrbitControls
      • color: ColorRepresentation

      Returns MapFog

    Properties

    color: Color

    The fog's color.

    density: number

    Defines how fast the fog will grow dense.

    0.00025
    
    isFogExp2: boolean

    This flag can be used for type testing.

    true
    
    name: string

    The name of the fog.

    Accessors

    • get factor(): number

      Returns number

    • set factor(value: number): void

      Parameters

      • value: number

      Returns void

    Methods

    • Returns a new fog with copied values from this instance.

      Returns FogExp2

      A clone of this instance.

    • Returns void

    • Serializes the fog into JSON.

      Returns FogExp2JSON

      A JSON object representing the serialized fog