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