Export (0) Print
Expand All

EffectParameter.GetValueInt32Array Method

Gets the value of the EffectParameter as an array of Int32.

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

public int[] GetValueInt32Array (
         int count
)

Parameters

count
The number of elements in the array.

Return Value

The value of the EffectParameter as an array of Int32.

Exception typeCondition
ArgumentOutOfRangeException When attempting to call GetValueInt32Array which returns an array, you must request that at least one member be returned.

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

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2015 Microsoft