BasicEffect.AmbientLightColor Property

Gets or sets the ambient color for a light, the range of color values is from 0 to 1.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in

public Vector3 AmbientLightColor { get; set; }

Property Value

The ambient light color of this effect. Valid values are between 0 and 1.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions