AbstractProtected_Protected ReadonlycenterReadonlycontrolsProtecteddistanceAbstract ReadonlytypeProtectedgetGets 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.
Moves the camera to given position looking at the given target.
A promise indicating when the animation is finished
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.