Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EffectParameter.SetValue Method (Matrix[])

Sets the value of the EffectParameter.

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

public void SetValue (
         Matrix[] value


Type: Matrix
The value to assign to the EffectParameter.

Exception typeCondition
InvalidCastException Unable to cast this EffectParameter to an array of type Matrix.

Setting the value of an effect parameter is a slow operation. Avoid high-frequency calls.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2015 Microsoft