Skip to content

Mojo graphics canvas ambientlight

mojo:mojo.graphics.Canvas.AmbientLight

Property AmbientLight:std.graphics.Color#

Ambient light color for lighting mode.

Sets the ambient light color for lighting.

This property cannot be modified if the canvas is already in lighting mode.