Function limitCameraToBoundingSphere

  • Constrain the camera so that it stays close to the bounding sphere of the map extent. Near the ground the allowed distance is shorter.

    Parameters

    • camera: Camera
    • boundingSphere: BoundingSphere
    • ratio: ((height) => number)
        • (height): number
        • Parameters

          • height: number

          Returns number

    Returns (() => void)

      • (): void
      • Returns void

Generated using TypeDoc