Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This property is available only when developing for Windows.
Gets or sets the material diffuse color, which ranges from 0 to 1.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public Nullable<Vector3> DiffuseColor { get; set; }
Property Value
The material's diffuse color.
See Also
Reference
DualTextureMaterialContent Class
DualTextureMaterialContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP