Returns the current value of a MFFloat event-out slot.
C# |
---|
public abstract void GetValue (
float[] value
) |
The following example gets the keys from the "key" field of a
CoordinateInterpolator node and prints them to the console:
C# |
---|
Vrml.EAI.Node coordinateInterpolator = ...;
Vrml.EAI.Field.EventOutMFFloat key_changed = (Vrml.EAI.Field.EventOutMFFloat)coordinateInterpolator.GetEventOut("key_changed");
int size = key_changed.Size;
float[] f = new float[size];
key_changed.GetValue(f);
for (int i = 0; i < size; ++i)
System.Console.WriteLine(f[i]);
|