Struct CameraSettings.Frustum
Defines the projection matrix of the camera.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
public struct CameraSettings.Frustum
Fields
| Name | Description |
|---|---|
| MinFarClipPlane | The far clip plane value will be at least above |
| MinNearClipPlane | The near clip plane value will be above this value. |
| aspect | Aspect ratio of the frustum (width/height). |
| default | Default value. |
| farClipPlaneRaw | Far clip plane distance. Value that will be stored for the far clip plane distance. IF you need the effective far clip plane distance, use farClipPlane. |
| fieldOfView | Field of view for perspective matrix (for y axis, in degree). |
| mode | Which mode will be used for the projection matrix. |
| nearClipPlaneRaw | Near clip plane distance. Value that will be stored for the near clip plane distance. IF you need the effective near clip plane distance, use nearClipPlane. |
| projectionMatrix | Projection matrix used for UseProjectionMatrixField mode. |
Properties
| Name | Description |
|---|---|
| farClipPlane | Effective far clip plane distance. Use this value to compute the projection matrix. This value is valid to compute a projection matrix. If you need the raw stored value, see farClipPlaneRaw instead. |
| nearClipPlane | Effective near clip plane distance. Use this value to compute the projection matrix. This value is valid to compute a projection matrix. If you need the raw stored value, see nearClipPlaneRaw instead. |
Methods
| Name | Description |
|---|---|
| ComputeProjectionMatrix() | Compute the projection matrix based on the mode and settings provided. |
| GetUsedProjectionMatrix() | Get the projection matrix used depending on the projection mode. |
| NewDefault() | Default value. |