docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsHandleYFlipped

    IsHandleYFlipped(RTHandle)

    True is the handle has its content flipped on the y axis. This happens only with certain rendering APIs. On those platforms, any handle will have its content flipped unless rendering to a backbuffer, however, the scene view will always be flipped. When transitioning from a flipped space to a non-flipped space - or vice-versa - the content must be flipped in the shader: shouldPerformYFlip = IsHandleYFlipped(source) != IsHandleYFlipped(target)

    Declaration
    public bool IsHandleYFlipped(RTHandle handle)
    Parameters
    Type Name Description
    RTHandle handle

    Handle to check the flipped status on.

    Returns
    Type Description
    bool

    True is the content is flipped in y.

    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)