Method AddLightComponent
AddLightComponent(uint, LightType, Color, double, double)
Add a light component to an occurrence
Declaration
[HandleProcessCorruptedStateExceptions]
public uint AddLightComponent(uint occurrence, LightType lightType, Color color, double power = 1, double cutOff = 20)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | occurrence | The occurrence to add the new component |
| LightType | lightType | The type of the light |
| Color | color | Color of the light |
| double | power | The power of the light |
| double | cutOff | The cutoff angle of the light |
Returns
| Type | Description |
|---|---|
| uint |