次の方法で共有


BasicMaterialContent.DiffuseColor Property

Gets or sets the diffuse color property.

This is a shortcut for accessing OpaqueData[DiffuseColorKey].

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

Current diffuse color value or the value to be set.

See Also

Reference

BasicMaterialContent Class
BasicMaterialContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista