Returns the current value of the MFVec3f event-out slot.
Declaring type: EventOutMFVec3f
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract void GetValue (
        float[] value
) 
Parameters
value
An array of float values that gets filled with the current vector values. The number of elements in this array must be at least three times the number of vector values. The elements at the positions [i x 3] get filled with the x components of the vectors, the elements at [i x 3 + 1] with the y components, and the elements at [i x 3 + 2] with the z components (for 0 <= i < Size).
Collapse/Expand Example
The following example gets the coordinates from the "point" field of a Coordinate node and prints them to the console:
C#
Vrml.EAI.Node coordinate = ...;
Vrml.EAI.Field.EventOutMFVec3f point_changed = (Vrml.EAI.Field.EventOutMFVec3f)coordinate.GetEventOut("point_changed");
float[] v = new float[point_changed.Size * 3];
point_changed.GetValue(v);
for (int i = 0; i < v.Length; i += 3)
    System.Console.WriteLine("x = " + v[i] + ", y = " + v[i + 1] + ", z = " + v[i + 2]);