Struct HDPhysicalCamera
Holds the physical settings set on cameras.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
[Obsolete("Properties have been migrated to Camera class", false)]
public struct HDPhysicalCamera
Fields
| Name | Description |
|---|---|
| kMaxAperture | The maximum allowed aperture. |
| kMaxBladeCount | The maximum blade count for the aperture diaphragm. |
| kMinAperture | The minimum allowed aperture. |
| kMinBladeCount | The minimum blade count for the aperture diaphragm. |
Properties
| Name | Description |
|---|---|
| anamorphism | Stretches the sensor to simulate an anamorphic look. Positive values distort the Camera vertically, negative will distort the Camera horizontally. |
| aperture | The aperture number, in f-stop. |
| barrelClipping | The strength of the "cat eye" effect on bokeh (optical vignetting). |
| bladeCount | The number of diaphragm blades. |
| curvature | Maps an aperture range to blade curvature. |
| focusDistance | The focus distance of the lens. The Depth of Field Volume override uses this value if you set focusDistanceMode to FocusDistanceMode.Camera. |
| iso | The sensor sensitivity (ISO). |
| shutterSpeed | The exposure time, in second. |
Methods
| Name | Description |
|---|---|
| CopyTo(HDPhysicalCamera) | Copies the settings of this instance to another instance. |
| GetDefaults() | A set of default physical camera parameters. |