ModelProcessor.ConvertMaterial Method

Note

This method is available only when developing for Windows.

Called by the framework when the MaterialContent property of a GeometryContent object is encountered in the input node collection.

Syntax

'Declaration
Protected Overridable Function ConvertMaterial ( _
         material As MaterialContent, _
         context As ContentProcessorContext _
) As MaterialContent 
protected virtual MaterialContent ConvertMaterial (
         MaterialContent material,
         ContentProcessorContext context
)
protected:
virtual MaterialContent ConvertMaterial(
         MaterialContent material,
         ContentProcessorContext context
)

Parameters

Return Value

Type: MaterialContent
The converted material content.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors

Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

See Also

Reference

ModelProcessor Class
ModelProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace

Platforms

Windows 7, Windows Vista, Windows XP