Returns the current value of a MFInt32 event-out slot.
C# |
---|
public abstract void GetValue (
int[] value
) |
The following example gets the values of an "index_changed"
event-out slot of a Script node and prints them to the console:
C# |
---|
Vrml.EAI.Node script = ...;
Vrml.EAI.Field.EventOutMFInt32 index_changed = (Vrml.EAI.Field.EventOutMFInt32)script.GetEventOut("index_changed");
int size = index_changed.Size;
int[] v = new int[size];
index_changed.GetValue(v);
for (int i = 0; i < size; ++i)
System.Console.WriteLine(v[i]);
|