Struct CameraSettings.Frustum
Defines the projection matrix of the camera.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
public struct CameraSettings.Frustum
필드
이름 | 설명 |
---|---|
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. |
프로퍼티
이름 | 설명 |
---|---|
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. |
메서드
이름 | 설명 |
---|---|
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. |