Contents

ambientColor

The ambient color of the light.

Declaration

var ambientColor: UIColor { get set }
var ambientColor: NSColor { get set }

Discussion

The alpha value of the color is ignored. The default color is black, meaning that the light does not have an ambient component. The ambient component of the light is not affected by the light’s falloff property, nor is it affected by any normal map (normalTexture) on the sprite node.

See Also

Configuring the Lighting Properties