{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Enum TextureOrientation | KTX for Unity | 3.2.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum TextureOrientation

    See Section 5.2 in https://registry.khronos.org/KTX/specs/2.0/ktxspec.v2.html#_ktxorientation

    Namespace: KtxUnity
    Assembly: solution.dll
    Syntax
    [Flags]
    public enum TextureOrientation

    Fields

    Name Description
    KtxDefault

    KTX defaults to X=right Y=down Z=out

    UnityDefault

    Unity expects GPU textures to be X=right Y=up

    XLeft

    If present X=left, else X=right

    YUp

    If present Y=up, else Y=down

    ZIn

    If present Z=in, else Z=out

    Extension Methods

    TextureOrientationExtension.IsXFlipped(TextureOrientation)
    TextureOrientationExtension.IsYFlipped(TextureOrientation)
    In This Article
    Back to top
    Copyright © 2023 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)