Struct HDCamera.ViewConstants
Structure containing all shader view related constants for this camera.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public struct HDCamera.ViewConstants
Fields
Name | Description |
---|---|
invProjMatrix | Inverse Projection matrix. |
invViewMatrix | Inverse View matrix. |
invViewProjMatrix | Inverse View Projection matrix. |
nonJitteredViewProjMatrix | Non-jittered View Projection matrix. |
pixelCoordToViewDirWS | Utility matrix (used by sky) to map screen position to WS view direction. |
prevInvViewProjMatrix | Non-jittered Inverse View Projection matrix from previous frame. |
prevViewMatrix | Previous view matrix from previous frame. |
prevViewProjMatrix | Non-jittered View Projection matrix from previous frame. |
prevViewProjMatrixNoCameraTrans | Non-jittered View Projection matrix from previous frame without translation. |
prevWorldSpaceCameraPos | World Space camera position from previous frame. |
projMatrix | Projection matrix. |
viewMatrix | View matrix. |
viewProjMatrix | View Projection matrix. |
worldSpaceCameraPos | World Space camera position. |
worldSpaceCameraPosViewOffset | Offset from the main view position for stereo view constants. |