Table of Contents

Class DualTextureMaterialContent

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly
MonoGame.Framework.Content.Pipeline.dll
public class DualTextureMaterialContent : MaterialContent
Inheritance
DualTextureMaterialContent
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

Texture2Key

String key of the second texture.

public const string Texture2Key = "Texture2"

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?

Texture

Gets or sets the texture property.

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

Property Value

ExternalReference<TextureContent>

Texture2

Gets or sets the second texture property.

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

Property Value

ExternalReference<TextureContent>

VertexColorEnabled

Gets or sets the vertex color enabled property.

public bool? VertexColorEnabled { get; set; }

Property Value

bool?