docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetGPUProjectionMatrixNoJitter

    GetGPUProjectionMatrixNoJitter(int)

    Returns the camera GPU projection matrix. This contains platform specific changes to handle y-flip and reverse z. Does not include any camera jitter. Similar to GL.GetGPUProjectionMatrix but queries URP internal state to know if the pipeline is rendering to render texture. For more info on platform differences regarding camera projection check: https://docs.unity3d.com/Manual/SL-PlatformDifferences.html

    Declaration
    public Matrix4x4 GetGPUProjectionMatrixNoJitter(int viewIndex = 0)
    Parameters
    Type Name Description
    int viewIndex

    View index in case of stereo rendering. By default viewIndex is set to 0.

    Returns
    Type Description
    Matrix4x4
    See Also
    GetGPUProjectionMatrix(Matrix4x4, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)