docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetWrapMode

    GetWrapMode(TextureWrapMode)

    Converts Unity texture wrap mode to USD wrap mode.

    Declaration
    public static TextureReaderSample.WrapMode GetWrapMode(TextureWrapMode wrap)
    Parameters
    Type Name Description
    TextureWrapMode wrap
    Returns
    Type Description
    TextureReaderSample.WrapMode
    Remarks

    Note that this is not a 1:1 match - MirrorOnce is not supported in USD, while the USD default (black outside tex) is not supported in Unity.

    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)