SetValue Method (Int32[])

EffectParameter.SetValue Method (Int32[])

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 (
         int[] value
)

Parameters

value
Type: Int32
The value to assign to the EffectParameter.

Exception typeCondition
InvalidCastException Unable to cast this EffectParameter to an arry of type Int32.

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

ADD
Show:
© 2016 Microsoft