Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- material
Type: MaterialContent
The input material content. - context
Type: ContentProcessorContext
Context for the specified processor.
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