Method SetAlphaClipping
SetAlphaClipping(Material, bool)
Set Alpha Clipping on Lit and Unlit shaders.
Declaration
public static void SetAlphaClipping(Material material, bool value)
Parameters
Type | Name | Description |
---|---|---|
Material | material | The material to change. |
bool | value | True to enable alpha clipping. |