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 |