1 out of 1 rated this helpful - Rate this topic

BasicEffect.DiffuseColor Property

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

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

public Vector3 DiffuseColor { get; set; }

Property Value

The diffuse color of this effect material. Valid values are between 0 and 1.
Xbox 360, Windows 7, Windows Vista, Windows XP
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ