ModelProcessor.ConvertMaterial Method
Called by the framework when the MaterialContent property of a GeometryContent object is encountered in the input node collection.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
protected virtual MaterialContent ConvertMaterial (
MaterialContent material,
ContentProcessorContext context
)
Parameters
- material
The input material content. - context
Context for the specified processor.
Return Value
The converted material content.
See Also
Reference
ModelProcessor Class
ModelProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace
Platforms
Windows XP SP2, Windows Vista