Aracılığıyla paylaş


BasicMaterialContent Members

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

Public Constructors

Name Description
Public Method BasicMaterialContent Initializes a new instance of BasicMaterialContent.

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 diffuse color.
Public Field EmissiveColorKey Specifies the key of the key/data pair for the emissive color.
Public Field SpecularColorKey Specifies the key of the key/data pair for the specular color.
Public Field SpecularPowerKey Specifies the key of the key/data pair for the specular power.
Public Field TextureKey Specifies the key of the key/data pair for the diffuse texture.
Public Field VertexColorEnabledKey Specifies the key of the key/data pair for the vertex color property.

Public Properties

Name Description
Public Property Alpha Gets or sets the alpha property.
Public Property DiffuseColor Gets or sets the diffuse color property.
Public Property EmissiveColor Gets or sets the emissive color property.
Public Property Identity (Inherited from ContentItem.)
Public Property Name (Inherited from ContentItem.)
Public Property OpaqueData (Inherited from ContentItem.)
Public Property SpecularColor Gets or sets the specular color property.
Public Property SpecularPower Gets or sets the specular power property.
Public Property Texture Gets or sets the diffuse texture property.
Public Property Textures (Inherited from MaterialContent.)
Public Property VertexColorEnabled Gets or sets the vertex color property.

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

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