Method FromCamera
FromCamera(Camera)
Creates a new LensSettings, copying the values from the supplied Camera
Declaration
public static LensSettings FromCamera(Camera fromCamera)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | fromCamera | The Camera from which the FoV, near and far clip planes will be copied. |
Returns
| Type | Description |
|---|---|
| LensSettings |