EffectMaterialContent.Effect Property
Note
This property is available only when developing for Windows.
Gets or sets the effect property.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public ExternalReference<EffectContent> Effect { get; set; }
Property Value
Reference to an external DirectX Effect file.
Remarks
Use this value as a shortcut for accessing the EffectKey element.
See Also
Reference
EffectMaterialContent Class
EffectMaterialContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP