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 |
---|---|
Min |
The far clip plane value will be at least above |
Min |
The near clip plane value will be above this value. |
aspect | Aspect ratio of the frustum (width/height). |
default | Default value. |
far |
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 far |
field |
Field of view for perspective matrix (for y axis, in degree). |
mode | Which mode will be used for the projection matrix. |
near |
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 near |
projection |
Projection matrix used for Use |
Properties
Name | Description |
---|---|
far |
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 far |
near |
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 near |
Methods
Name | Description |
---|---|
Compute |
Compute the projection matrix based on the mode and settings provided. |
Get |
Get the projection matrix used depending on the projection mode. |
New |
Default value. |