Class AlphaTestMaterialContent
- 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
AlphaKey
Gets or sets the alpha property.
public const string AlphaKey = "Alpha"
Field Value
DiffuseColorKey
String key of the diffuse color.
public const string DiffuseColorKey = "DiffuseColor"
Field Value
ReferenceAlphaKey
String key of the alpha reference.
public const string ReferenceAlphaKey = "ReferenceAlpha"
Field Value
TextureKey
String key of the texture.
public const string TextureKey = "Texture"
Field Value
VertexColorEnabledKey
String key of the vertex color enable flag.
public const string VertexColorEnabledKey = "VertexColorEnabled"
Field Value
Properties
Alpha
Gets or sets the alpha property.
public float? Alpha { get; set; }
Property Value
AlphaFunction
Gets or Sets the compare function for alpha tests.
public CompareFunction? AlphaFunction { get; set; }
Property Value
DiffuseColor
String key of the diffuse color.
public Vector3? DiffuseColor { get; set; }
Property Value
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
VertexColorEnabled
String key of the vertex color enable flag.
public bool? VertexColorEnabled { get; set; }
Property Value
- bool?