Table of Contents

Class AlphaTestMaterialContent

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

Class to provide properties for processing basic materials with alpha.

public class AlphaTestMaterialContent : MaterialContent
Inheritance
AlphaTestMaterialContent
Inherited Members

Fields

AlphaFunctionKey

String key of the alpha function.

public const string AlphaFunctionKey = "AlphaFunction"

Field Value

string

AlphaKey

Gets or sets the alpha property.

public const string AlphaKey = "Alpha"

Field Value

string

DiffuseColorKey

String key of the diffuse color.

public const string DiffuseColorKey = "DiffuseColor"

Field Value

string

ReferenceAlphaKey

String key of the alpha reference.

public const string ReferenceAlphaKey = "ReferenceAlpha"

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?

AlphaFunction

Gets or Sets the compare function for alpha tests.

public CompareFunction? AlphaFunction { get; set; }

Property Value

CompareFunction?

DiffuseColor

String key of the diffuse color.

public Vector3? DiffuseColor { get; set; }

Property Value

Vector3?

ReferenceAlpha

Gets or sets the alpha reference property.

public int? ReferenceAlpha { get; set; }

Property Value

int?

Texture

Gets or sets the texture property.

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

Property Value

ExternalReference<TextureContent>

VertexColorEnabled

String key of the vertex color enable flag.

public bool? VertexColorEnabled { get; set; }

Property Value

bool?