Class GltfHdrpMaterialExporter
Converts Unity Materials that use a glTFast Built-In shader to glTF materials
Inheritance
GltfHdrpMaterialExporter
Implements
Inherited Members
Namespace: GLTFast.Export
Assembly: glTFast.Export.dll
Syntax
public class GltfHdrpMaterialExporter : GltfShaderGraphMaterialExporter, IMaterialExport
Methods
GetAlphaMode(Material)
Extracts the glTF alpha mode from a Unity material.
Declaration
protected override MaterialBase.AlphaMode GetAlphaMode(Material material)
Parameters
Type | Name | Description |
---|---|---|
Material | material | Unity material. |
Returns
Type | Description |
---|---|
AlphaMode | glTF alpha mode. |
Overrides
See Also
IsDoubleSided(Material)
Indicates whether (back-face) culling should be disabled.
Declaration
protected override bool IsDoubleSided(Material material)
Parameters
Type | Name | Description |
---|---|---|
Material | material | Unity material. |
Returns
Type | Description |
---|---|
bool | True if material does not do back-face culling. False otherwise. |