docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BuildMaterial

    BuildMaterial(Scene, string, MaterialSample, SceneImportOptions)

    Builds a Unity Material from the given USD material sample.

    Declaration
    public static Material BuildMaterial(Scene scene, string materialPath, MaterialSample sample, SceneImportOptions options)
    Parameters
    Type Name Description
    Scene scene
    string materialPath
    MaterialSample sample
    SceneImportOptions options
    Returns
    Type Description
    Material
    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)