Class MaterialExporter | USD | 2.0.0-exp.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class MaterialExporter

    Inheritance
    Object
    MaterialExporter
    Namespace: Unity.Formats.USD
    Syntax
    public static class MaterialExporter

    Fields

    ExportRegistry

    The ExportRegistry is a mapping from Unity shader name (e.g. "Standard") to ExportHandler. When exporting a Material, the shader name is used to lookup the export hanlder function in this registry.

    Declaration
    public static Dictionary<string, MaterialExporter.ExportHandler> ExportRegistry
    Field Value
    Type Description
    Dictionary<String, MaterialExporter.ExportHandler>

    kHdrpFallbackHandler

    Declaration
    public static readonly string kHdrpFallbackHandler
    Field Value
    Type Description
    String

    kLwrpFallbackHandler

    Declaration
    public static readonly string kLwrpFallbackHandler
    Field Value
    Type Description
    String

    kStandardFallbackHandler

    Declaration
    public static readonly string kStandardFallbackHandler
    Field Value
    Type Description
    String

    Methods

    ExportMaterial(Scene, Material, String)

    Declaration
    public static void ExportMaterial(Scene scene, Material mat, string usdMaterialPath)
    Parameters
    Type Name Description
    Scene scene
    Material mat
    String usdMaterialPath
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023