Export (0) Print
Expand All

EffectParameter.SetValue Method (Vector4)

Sets the value of the EffectParameter.

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

public void SetValue (
         Vector4 value
)

Parameters

value
The value to assign to the EffectParameter.

Exception typeCondition
InvalidCastException Unable to cast this EffectParameter to type Vector4.

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

Xbox 360, Windows XP SP2, Windows Vista

Show:
© 2014 Microsoft