Class: ThirdPersonOnGround

ThirdPersonOnGround()

ThirdPersonOnGround This class provides a third-person view controller for navigating a 3D scene in CesiumJS.

Constructor

new ThirdPersonOnGround()

Source:

Classes

ThirdPersonOnGround

Methods

activate(lockMode)

This method activates the third-person view controller, enabling keyboard and mouse controls for navigation.
Parameters:
Name Type Default Description
lockMode boolean false If true, enables pointer lock mode for mouse movement.
Source:

deactivate()

This method deactivates the first-person view controller, restoring the default camera controls and removing event listeners.
Source: