DefaultEffect Property

MaterialProcessor.DefaultEffect Property

XNA Game Studio 4.0
The default effect type for this instance of MaterialProcessor.

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

public virtual MaterialProcessorDefaultEffect DefaultEffect { get; set; }

Property Value

The default effect type.

When MaterialProcessor is instantiated, DefaultEffect is set to default to BasicEffect Class.

Build content in XNA Game Studio for Windows Phone 7, Xbox 360, Windows 7, Windows Vista, and Windows XP.

Community Additions

© 2016 Microsoft