Zoom.SetDistance
Method in Zoom
Declaration
public void SetDistance(float distance)
Description
Sets the zoom distance to the given value. The distance will be clamped within the zoom range.
Parameters
distance | The camera zoom distance. |
public void SetDistance(float distance)
Sets the zoom distance to the given value. The distance will be clamped within the zoom range.
distance | The camera zoom distance. |