Method GetUseEmissiveIntensity
GetUseEmissiveIntensity(Material)
Compares a material's color and intensity values to determine if they are different. Works with Lit, Unlit and Decal shaders.
Declaration
public static bool GetUseEmissiveIntensity(Material material)
Parameters
Type | Name | Description |
---|---|---|
Material | material | The material to change. |
Returns
Type | Description |
---|---|
bool | True if the material uses different color and intensity values. |