Partager via


EffectMaterial Constructor

Creates an instance of this object.

Syntax

'Declaration
Public Sub New ( _
         cloneSource As Effect _
)
public EffectMaterial (
         Effect cloneSource
)
public:
EffectMaterial(
         Effect cloneSource
)

Parameters

  • cloneSource
    Type: Effect
    An instance of an object to copy initialization data from.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

See Also

Reference

EffectMaterial Class
EffectMaterial Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows Phone