docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Export

    Export(Scene, string, Material, PreviewSurfaceSample, string)

    Export the USD Importer Shader Graph material to UsdPreviewSurface

    Declaration
    public static void Export(Scene scene, string usdShaderPath, Material material, PreviewSurfaceSample surface, string destTexturePath)
    Parameters
    Type Name Description
    Scene scene

    The exported scene

    string usdShaderPath

    The path to the output preview surface shader

    Material material

    The input material

    PreviewSurfaceSample surface

    The preview surface sample

    string destTexturePath

    The destination path for texture

    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)