Class CameraLimiter

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

Accessors

Constructors

Methods

  • Limits the given camera based on this limiters specs.

    Parameters

    • camera: Camera

    Returns Promise<void>

Properties

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>