Class
FreeCameraController
View sourceExtends CameraController
Shared input and lifecycle support for camera controllers.
Subclasses can consume mouseDelta, keys, and touchPointers from their
update method. Pointer input is captured by the target element so dragging
continues to work when the pointer leaves the element.
Constructor
View source
Properties
yaw : number
View sourceDefault: 0
pitch : number
View sourceDefault: 0
minPitch : number
View sourceDefault: ...
maxPitch : number
View sourceDefault: ...
sensitivity : number
View sourceDefault: 0.002
movementSpeed : number
View sourceDefault: 5
sprintMultiplier : number
View sourceDefault: 2
Methods
syncFromCamera ( ) : FreeCameraController
View source Synchronizes yaw and pitch with the camera’s current orientation.
This is useful when another system changes the camera orientation before handing control to this controller.