Page 1 of 1

Can I set the value of Luminosity of the Ambient light in Environment dialog via API?

Posted: 27 Nov 2021, 06:38
by wozxfdha
Hi,

I check the APIs for light, only sim.setLightParameters can be used, and I want to set the value of Luminosity of the Ambient light in Environment dialog.

Can I do it via API? How?

Thanks.

Re: Can I set the value of Luminosity of the Ambient light in Environment dialog via API?

Posted: 29 Nov 2021, 09:16
by fferri

Code: Select all

sim.setArrayParameter(sim.arrayparam_ambient_light,{0.1,0.1,0.1})