次の方法で共有


AlphaTestMaterialContent Members

The following tables list the members exposed by the AlphaTestMaterialContent type.

Public Constructors

Name Description
Public Method AlphaTestMaterialContent Creates an instance of this object.

Public Fields

Name Description
Public Field AlphaFunctionKey Specifies the key of the key/data pair for the alpha test.
Public Field AlphaKey Specifies the key of the key/data pair for the alpha property.
Public Field DiffuseColorKey Specifies the key of the key/data pair for the material diffuse color.
Public Field ReferenceAlphaKey Specifies the key of the key/data pair for the reference alpha value.
Public Field TextureKey Specifies the key of the key/data pair for the current texture.
Public Field VertexColorEnabledKey Specifies the key of the key/data pair for the vertex color enabled setting.

Public Properties

Name Description
Public Property Alpha Gets or sets the material alpha.
Public Property AlphaFunction Gets or sets the compare function for alpha test. The default value is Greater.
Public Property DiffuseColor Gets or sets the material diffuse color, which ranges from 0 to 1.
Public Property Identity (Inherited from ContentItem.)
Public Property Name (Inherited from ContentItem.)
Public Property OpaqueData (Inherited from ContentItem.)
Public Property ReferenceAlpha Gets or sets the reference alpha value. The default value is 0.
Public Property Texture Gets or sets the current texture.
Public Property Textures (Inherited from MaterialContent.)
Public Property VertexColorEnabled Gets or sets whether vertex color is enabled.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method GetReferenceTypeProperty (Inherited from MaterialContent.)
Protected Method GetTexture (Inherited from MaterialContent.)
Protected Method GetValueTypeProperty (Inherited from MaterialContent.)
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method SetProperty (Inherited from MaterialContent.)
Protected Method SetTexture (Inherited from MaterialContent.)

See Also

Reference

AlphaTestMaterialContent Class
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace