Table of Contents

Class BasicMaterialContent

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly
MonoGame.Framework.Content.Pipeline.dll

Class to provide properties for processing basic materials.

public class BasicMaterialContent : MaterialContent
Inheritance
BasicMaterialContent
Inherited Members

Fields

AlphaKey

String key of the alpha value.

public const string AlphaKey = "Alpha"

Field Value

string

DiffuseColorKey

String key of the diffuse color.

public const string DiffuseColorKey = "DiffuseColor"

Field Value

string

EmissiveColorKey

String key of the emissive color.

public const string EmissiveColorKey = "EmissiveColor"

Field Value

string

SpecularColorKey

String key of the specular color.

public const string SpecularColorKey = "SpecularColor"

Field Value

string

SpecularPowerKey

String key of the specular power.

public const string SpecularPowerKey = "SpecularPower"

Field Value

string

TextureKey

String key of the texture.

public const string TextureKey = "Texture"

Field Value

string

VertexColorEnabledKey

String key of the vertex color enable flag.

public const string VertexColorEnabledKey = "VertexColorEnabled"

Field Value

string

Properties

Alpha

Gets or sets the alpha property.

public float? Alpha { get; set; }

Property Value

float?

DiffuseColor

Gets or sets the diffuse color property.

public Vector3? DiffuseColor { get; set; }

Property Value

Vector3?

EmissiveColor

Gets or sets the emissive color property.

public Vector3? EmissiveColor { get; set; }

Property Value

Vector3?

SpecularColor

Gets or sets the specular color property.

public Vector3? SpecularColor { get; set; }

Property Value

Vector3?

SpecularPower

Gets or sets the specular power property.

public float? SpecularPower { get; set; }

Property Value

float?

Texture

Gets or sets the texture property.

public ExternalReference<TextureContent> Texture { get; set; }

Property Value

ExternalReference<TextureContent>

VertexColorEnabled

Gets or sets the vertex color enabled property.

public bool? VertexColorEnabled { get; set; }

Property Value

bool?