AbstractProtected_Protected ReadonlycenterReadonlycontrolsProtecteddistanceAbstract ReadonlytypeProtected_ProtectedgetGets the scene sphere with the same framing margin as the regular camera reset.
ProtectedgetReads the previous view and replaces the short FirstPerson target with the scene center.
Called by the viewport when the pointer is pressed, before the operator.
The pointer event.
The objects under the pointer, raycast when read.
Called by the viewport when the pointer moves, before the operator.
The pointer event.
The objects under the pointer, raycast when read.
Called by the viewport when the pointer is released, before the operator.
The pointer event.
The objects under the pointer, raycast when read.
ProtectedresetResets perspective framing when leaving an orthographic projection.
AbstractsetupSets up the camera mode from another camera mode.
The camera mode to initialize from
Optionalduration: numberUpdates the scene bounds used to configure the camera mode.
The latest scene bounds
Whether the bounds changed
AbstractzoomOptionalduration: numberAbstractzoomOptionalduration: number
Base class for a camera navigation mode. Wraps a
camera-controlsinstance and drives it according to the current scene bounds; subclasses implement the actual navigation behavior (orbital, first person, floor plan…) selected via CameraModeType.