ReferenceScripting APILightComponentset
LightComponent.set
methodChanges one of its layer's settings.
| Name | set |
|---|---|
| Kind | method of LightComponent |
| Called as | lightComponent.set(…) |
| Since | 0.3 |
Syntax
set( key: string, value: SettingValue): voidParameters
| Name | Type | Description |
|---|---|---|
key | string | The setting |
value | SettingValue | Its new value |
Returns
Nothing.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.