BasicMaterialContent Class (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

System.Object
   Microsoft.Xna.Framework.Content.Pipeline.ContentItem
      Microsoft.Xna.Framework.Content.Pipeline.Graphics.MaterialContent
         Microsoft.Xna.Framework.Content.Pipeline.Graphics.BasicMaterialContent

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public class BasicMaterialContent : MaterialContent

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The BasicMaterialContent type exposes the following members.

  Platforms Name Description
BasicMaterialContent Initializes a new instance of MaterialContent. 
Top
  Platforms Name Description
Alpha  
DiffuseColor  
EmissiveColor  
Identity Gets or sets the identity of the content item. (Inherited from ContentItem.)
Name Gets or sets the name of the content item. (Inherited from ContentItem.)
OpaqueData Gets the opaque data of the content item. (Inherited from ContentItem.)
SpecularColor  
SpecularPower  
Texture  
Textures Gets the texture collection of the material. (Inherited from MaterialContent.)
VertexColorEnabled  
Top
  Platforms Name Description
Clone Helper method to make a copy of a material. (Inherited from MaterialContent.)
GetReferenceTypeProperty<T> Gets a reference type from the OpaqueDataDictionary collection. (Inherited from MaterialContent.)
GetTexture Gets a value from the Textures collection. (Inherited from MaterialContent.)
GetValueTypeProperty<T> Gets a value type from the OpaqueDataDictionary collection. (Inherited from MaterialContent.)
SetProperty<T> Sets a value in the contained OpaqueDataDictionary object. If null is passed, the value is removed. (Inherited from MaterialContent.)
SetTexture Sets a value in the contained TextureReferenceDictionary object. If null is passed, the value is removed. (Inherited from MaterialContent.)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop