docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field OnResolveTexture

    A callback that allows custom texture resolution logic.

    Namespace: Unity.Formats.USD
    Assembly: solution.dll
    Syntax
    public static MaterialImporter.TextureResolver OnResolveTexture
    Returns
    Type Description
    MaterialImporter.TextureResolver
    Remarks

    Note that this method is only called when texture import is enabled. If this event is wired up, it must return a value, returning null will cause the texture to be skipped. The same texture may be resolved multiple times as needed.

    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)