This topic has not yet been rated - Rate this topic

EffectParameter.GetValueInt32 Method

Gets the value of the EffectParameter as an Int32.

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

public int GetValueInt32 ()

Return Value

Gets the value of the EffectParameter as an Int32.
Exception typeCondition
InvalidCastException Unable to cast this EffectParameter to type Int32.

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

Xbox 360, Windows XP SP2, Windows Vista
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.