control the ambient light of a scene
get / set the position of the ambient Light
| Parameter | Type | Description |
|---|---|---|
| canvas | String | name of the canvas |
| x | Number | x position of the ambient light (null will not change the x position) |
| y | Number | y position of the ambient light (null will not change the y position) |
| z | Number | z position of the ambient light (null will not change the z position) |
get / set the intensity of the ambient Light
| Parameter | Type | Description |
|---|---|---|
| canvas | String | name of the canvas |
| intensity | Int | intensity of the light |