@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

    Fog color.

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

    density: number

    Defines how fast the fog will grow dense.

    0.00025

    Expects a Float

    isFogExp2: true

    Read-only flag to check if a given object is of type FogExp2.

    This is a constant value

    true

    name: string

    Optional name of the object

    (doesn't need to be unique).

    ""

    Accessors

    • get factor(): number

      Returns number

    • set factor(value: number): void

      Parameters

      • value: number

      Returns void

    Methods

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

      Returns FogExp2

    • Returns void

    • Return FogExp2 data in JSON format.

      Returns FogExp2JSON