次の方法で共有


EffectMaterialContent.Effect Property

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 XP SP2, Windows Vista