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 2070
Last Updated: 30 November, 2023