setFocusDistance Method
Set the focus distance for this view. @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
setFocusDistance(dist: number): void
Parameter | Type | Description |
---|---|---|
dist | number |
Defined in
Last Updated: 08 January, 2020