pygfx.objects.AmbientLight¶
- class pygfx.objects.AmbientLight(color='#ffffff', intensity=0.2)¶
Bases:
Light
Ambient light source.
A light that omnidirectionally illuminates all objects in the scene equally.
- Parameters:
color (Color) – The color of the emitted light.
intensity (float) – The light intensity. A value of
0.2
corresponds to a dimly lit scene.