Method SetEmissiveIntensity
SetEmissiveIntensity(Material, float, EmissiveIntensityUnit)
Set the Emissive Intensity on Lit, Unlit and Decal shaders. If the material doesn't use emissive intensity, this won't have any effect.
Declaration
public static void SetEmissiveIntensity(Material material, float intensity, EmissiveIntensityUnit unit)
Parameters
Type | Name | Description |
---|---|---|
Material | material | The material to change. |
float | intensity | The emissive intensity. |
EmissiveIntensityUnit | unit | The unit of the intensity parameter. |