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 2050
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.