Method SetIntensity
SetIntensity(float)
Set the intensity of the light using the current unit.
Declaration
public void SetIntensity(float intensity)
Parameters
Type | Name | Description |
---|---|---|
float | intensity |
SetIntensity(float, LightUnit)
Set the intensity of the light using unit in parameter.
Declaration
public void SetIntensity(float intensity, LightUnit unit)
Parameters
Type | Name | Description |
---|---|---|
float | intensity | |
LightUnit | unit | Unit must be a valid Light Unit for the current light type |