API Reference > imodeljs-frontend > Views > ViewState3d > setFocusDistance setFocusDistance Method Set the focus distance for this view. setFocusDistance(dist: number): void note Changing the focus distance changes the plane on which the delta.x and delta.y values lie. So, changing focus distance without making corresponding changes to delta.x and delta.y essentially changes the lens angle, causing a "zoom" effect Parameter Type Description dist number Returns - void Defined in core/frontend/src/ViewState.ts Line 1823 Last Updated: 12 June, 2024