Creates and adds a new light control extension of the specified type.
The new extension is added to the end of the light's extension list.
- Parameters
-
| light | Light object. |
| type | Type of extension to add. |
| extension | Receives the new extension object. |
- Returns
- Operation status.