centerFocusDistance Method
Center the focus distance of the camera halfway between the front plane and the back plane, keeping the eyepoint, lens angle, rotation, back distance, and front distance unchanged.
centerFocusDistance(): void
note The focus distance, origin, and delta values are modified, but the view encloses the same volume and appears visually unchanged.
Returns - void
Defined in
- core/frontend/src/ViewState.ts Line 2003
Last Updated: 30 November, 2023