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 float[][] GetValue ()
Return Value
The current vector values. This is an array of float arrays that contain three values. The first value is the x component of the vector, the second value the y component, and the third value the z component.
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 = point_changed.GetValue();
for (int i = 0; i < v.Length; ++i)
    System.Console.WriteLine("x = " + v[i][0] + ", y = " + v[i][1] + ", z = " + v[i][2]);