docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct HDCamera.ViewConstants

    Structure containing all shader view related constants for this camera.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    public struct HDCamera.ViewConstants

    Fields

    invProjMatrix

    Inverse Projection matrix.

    Declaration
    public Matrix4x4 invProjMatrix
    Field Value
    Type Description
    Matrix4x4

    invViewMatrix

    Inverse View matrix.

    Declaration
    public Matrix4x4 invViewMatrix
    Field Value
    Type Description
    Matrix4x4

    invViewProjMatrix

    Inverse View Projection matrix.

    Declaration
    public Matrix4x4 invViewProjMatrix
    Field Value
    Type Description
    Matrix4x4

    nonJitteredInvViewProjMatrix

    Non-jittered View Projection matrix.

    Declaration
    public Matrix4x4 nonJitteredInvViewProjMatrix
    Field Value
    Type Description
    Matrix4x4

    nonJitteredProjMatrix

    Non-jittered Projection matrix.

    Declaration
    public Matrix4x4 nonJitteredProjMatrix
    Field Value
    Type Description
    Matrix4x4

    nonJitteredViewProjMatrix

    Non-jittered View Projection matrix.

    Declaration
    public Matrix4x4 nonJitteredViewProjMatrix
    Field Value
    Type Description
    Matrix4x4

    pixelCoordToViewDirWS

    Utility matrix (used by sky) to map screen position to WS view direction.

    Declaration
    public Matrix4x4 pixelCoordToViewDirWS
    Field Value
    Type Description
    Matrix4x4

    prevInvViewProjMatrix

    Non-jittered Inverse View Projection matrix from previous frame.

    Declaration
    public Matrix4x4 prevInvViewProjMatrix
    Field Value
    Type Description
    Matrix4x4

    prevPrevProjMatrix

    Non-jittered projection matrix from the frame before the previous frame.

    Declaration
    public Matrix4x4 prevPrevProjMatrix
    Field Value
    Type Description
    Matrix4x4

    prevPrevViewMatrix

    View matrix from the frame before the previous frame.

    Declaration
    public Matrix4x4 prevPrevViewMatrix
    Field Value
    Type Description
    Matrix4x4

    prevPrevWorldSpaceCameraPos

    World Space camera position from the frame before the previous frame.

    Declaration
    public Vector3 prevPrevWorldSpaceCameraPos
    Field Value
    Type Description
    Vector3

    prevProjMatrix

    Non-jittered Projection matrix from previous frame.

    Declaration
    public Matrix4x4 prevProjMatrix
    Field Value
    Type Description
    Matrix4x4

    prevViewMatrix

    Previous view matrix from previous frame.

    Declaration
    public Matrix4x4 prevViewMatrix
    Field Value
    Type Description
    Matrix4x4

    prevViewProjMatrix

    Non-jittered View Projection matrix from previous frame.

    Declaration
    public Matrix4x4 prevViewProjMatrix
    Field Value
    Type Description
    Matrix4x4

    prevViewProjMatrixNoCameraTrans

    Non-jittered View Projection matrix from previous frame without translation.

    Declaration
    public Matrix4x4 prevViewProjMatrixNoCameraTrans
    Field Value
    Type Description
    Matrix4x4

    prevWorldSpaceCameraPos

    World Space camera position from previous frame.

    Declaration
    public Vector3 prevWorldSpaceCameraPos
    Field Value
    Type Description
    Vector3

    projMatrix

    Projection matrix.

    Declaration
    public Matrix4x4 projMatrix
    Field Value
    Type Description
    Matrix4x4

    viewMatrix

    View matrix.

    Declaration
    public Matrix4x4 viewMatrix
    Field Value
    Type Description
    Matrix4x4

    viewProjMatrix

    View Projection matrix.

    Declaration
    public Matrix4x4 viewProjMatrix
    Field Value
    Type Description
    Matrix4x4

    worldSpaceCameraPos

    World Space camera position.

    Declaration
    public Vector3 worldSpaceCameraPos
    Field Value
    Type Description
    Vector3

    worldSpaceCameraPosViewOffset

    Offset from the main view position for stereo view constants.

    Declaration
    public Vector3 worldSpaceCameraPosViewOffset
    Field Value
    Type Description
    Vector3
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)