maximumTiltAngle
The angle, relative to the ellipsoid normal, restricting the maximum amount that the user can tilt the camera. If undefined
, the angle of the camera tilt is unrestricted.
// Prevent the camera from tilting below the ellipsoid surface
viewer.scene.screenSpaceCameraController.maximumTiltAngle = Math.PI / 2.0;
Content copied to clipboard