Returns the current value of the MFVec2f event-out slot.
Declaring type: EventOutMFVec2f
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract void GetValue (
        float[][] value
) 
Parameters
value
An array of float arrays that contain at least two values. This array gets filled with the current vector values. The first element of each array gets filled with the x component of the vector, and the second element with the y component.
Collapse/Expand Example
The following example gets the texture coordinates from the "point" field of a TextureCoordinate node and prints them to the console:
C#
Vrml.EAI.Node textureCoordinate = ...;
Vrml.EAI.Field.EventOutMFVec2f point_changed = (Vrml.EAI.Field.EventOutMFVec2f)textureCoordinate.GetEventOut("point_changed");
int size = point_changed.Size;
float[][] v = new float[size][];
for (int i = 0; i < size; ++i)
    v[i] = new float[2];
point_changed.GetValue(v);
for (int i = 0; i < size; ++i)
    System.Console.WriteLine("x = " + v[i][0] + ", y = " + v[i][1]);