MaterialProcessor.CreateDefaultMaterial Method (Microsoft.Xna.Framework.Content.Pipeline.Processors)
Helper method which returns the material for a default effect.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public static MaterialContent CreateDefaultMaterial( MaterialProcessorDefaultEffect effect )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
Return Value
Type: Microsoft.Xna.Framework.Content.Pipeline.Graphics.MaterialContentA material.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop