Class ShaderExporterBase
Namespace: Unity.Formats.USD
Syntax
public class ShaderExporterBase
Methods
SetupTexture(Scene, String, Material, PreviewSurfaceSample, String, String, String)
Exports the given texture to the destination texture path and wires up the preview surface.
Declaration
protected static string SetupTexture(Scene scene, string usdShaderPath, Material material, PreviewSurfaceSample surface, string destTexturePath, string textureName, string textureOutput)
Parameters
Type | Name | Description |
---|---|---|
Scene | scene | |
String | usdShaderPath | |
Material | material | |
PreviewSurfaceSample | surface | |
String | destTexturePath | |
String | textureName | |
String | textureOutput |
Returns
Type | Description |
---|---|
String | Returns the path to the USD texture object. |