API Reference > imodeljs-frontend > Views > ViewState3d > centerFocusDistance 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 1389 Last Updated: 13 June, 2024