Class CameraLimiter

Can limit a Cesium.Cameras position based on absolute height or distance to a given terrain

Hierarchy

  • CameraLimiter

Accessors

Constructors

Methods

  • Parameters

    • cameraCartographic: Cartographic

    Returns Promise<Cartographic[]>

  • Parameters

    • cameraCartographic: Cartographic

    Returns Promise<Cartographic[]>

  • Parameters

    • cameraCartographic: Cartographic

    Returns Promise<void>

  • Limits the given camera based on this limiters specs.

    Parameters

    • camera: Camera

    Returns Promise<void>

Properties

_terrainHeight: null | number = null

last updated terrain height

_terrainUrl: undefined | string
_updatingTerrainHeight: boolean = false
lastCheckedPosition: Cartographic = ...

last checked camera position

level: null | number

The level to request terrain data at

limit: number

The minimum height/distance to the terrain the camera must maintain

The mode to use. When using DISTANCE mode, be sure to have a terrainProvider set.

terrainRequestHeaders?: Record<string, string>

Generated using TypeDoc