Method ExportUnlit
ExportUnlit(Material, Material, int, IGltfWritable, ICodeLogger)
Converts an unlit Unity material into a glTF material
Declaration
protected void ExportUnlit(Material material, Material uMaterial, int mainTexProperty, IGltfWritable gltf, ICodeLogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| Material | material | Destination glTF material |
| Material | uMaterial | Source Unity material |
| int | mainTexProperty | Main texture property ID |
| IGltfWritable | gltf | Context glTF to export to |
| ICodeLogger | logger | Custom logger |