#region Using Statements using System; using System.Collections.Generic; using System.Linq; using System.Text; #endregion // This file is part of the ANX.Framework created by the // "ANX.Framework developer group" and released under the Ms-PL license. // For details see: http://anxframework.codeplex.com/license namespace ANX.Framework.Content.Pipeline.Graphics { public class BasicMaterialContent : MaterialContent { public const string AlphaKey = "Alpha"; public const string DiffuseColorKey = "DiffuseColor"; public const string EmissiveColorKey = "EmissiveColor"; public const string SpecularColorKey = "SpecularColor"; public const string SpecularPowerKey = "SpecularPower"; public const string TextureKey = "Texture"; public const string VertexColorEnabledKey = "VertexColorEnabled"; public BasicMaterialContent() { } public Nullable Alpha { get { return this.GetValueTypeProperty(AlphaKey); } set { this.SetProperty(AlphaKey, value); } } public Nullable DiffuseColor { get { return this.GetValueTypeProperty(DiffuseColorKey); } set { this.SetProperty(DiffuseColorKey, value); } } public Nullable EmissiveColor { get { return this.GetValueTypeProperty(EmissiveColorKey); } set { this.SetProperty(EmissiveColorKey, value); } } public Nullable SpecularColor { get { return this.GetValueTypeProperty(SpecularColorKey); } set { this.SetProperty(SpecularColorKey, value); } } public Nullable SpecularPower { get { return this.GetValueTypeProperty(SpecularPowerKey); } set { this.SetProperty(SpecularPowerKey, value); } } public ExternalReference Texture { get { return this.GetTexture(TextureKey); } set { this.SetTexture(TextureKey, value); } } public Nullable VertexColorEnabled { get { return this.GetValueTypeProperty(VertexColorEnabledKey); } set { this.SetProperty(VertexColorEnabledKey, value); } } } }