Method SetSurfaceType
SetSurfaceType(Material, bool)
Set the Surface Type of a HDRP material.
Declaration
public static void SetSurfaceType(Material material, bool transparent)
Parameters
Type | Name | Description |
---|---|---|
Material | material | The material to change. |
bool | transparent | Controls if the material has an opaque or transparent Surface Type. |