Class SgUsdPreviewSurfaceShaderExporter
Export support for USD Importer's Shader Graphs/usd_preview_surface shader
Inherited Members
Namespace: Unity.Formats.USD
Assembly: solution.dll
Syntax
public class SgUsdPreviewSurfaceShaderExporter : ShaderExporterBase
Methods
Name | Description |
---|---|
CopyTextureSettings(string, Material) | Create a TextureSettings object from the input material texture settings |
Export(Scene, string, Material, PreviewSurfaceSample, string) | Export the USD Importer Shader Graph material to UsdPreviewSurface |
GetTextureOutputFromChannelMask(Vector4) | Convert the channel mask to a texture output name |
UVMaskToChannelName(Vector4) | Convert from a mask indicating which of the 4 uv channels are used to a standard USD texture channel name |