DualTextureMaterialContent Members

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

Public Constructors

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

Public Fields

Name Description
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 Texture2Key Specifies the key of the key/data pair for the current overlay texture.
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 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 Texture Gets or sets the current texture.
Public Property Texture2 Gets or sets the current overlay 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

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