Cinemachine
![]() | LensSettings Constructor |
Explicit constructor for this LensSettings
Namespace: Cinemachine
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)

public LensSettings( float fov, float orthographicSize, float nearClip, float farClip, float dutch, bool ortho, float aspect )
Cinemachine.LensSettings = function(fov, orthographicSize, nearClip, farClip, dutch, ortho, aspect);
Parameters
- fov
- Type: SystemSingle
The Vertical field of view - orthographicSize
- Type: SystemSingle
If orthographic, this is the half-height of the screen - nearClip
- Type: SystemSingle
The near clip plane - farClip
- Type: SystemSingle
The far clip plane - dutch
- Type: SystemSingle
Camera roll, in degrees. This is applied at the end Whether the lens is orthographicThe aspect ratio of the lens Width/height after shot composition. - ortho
- Type: SystemBoolean
[Missing <param name="ortho"/> documentation for "M:Cinemachine.LensSettings.#ctor(System.Single,System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Single)"]
- aspect
- Type: SystemSingle
[Missing <param name="aspect"/> documentation for "M:Cinemachine.LensSettings.#ctor(System.Single,System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Single)"]
