Returns one element of the MFVec3f event-out slot.
Declaring type: EventOutMFVec3f
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract void Get1Value (
        int index,
        float[] value
) 
Parameters
index
The index of the element, starting at 0.
value
An array of at least three float values that gets filled with the vector. The first value gets filled with the x component of the vector, the second value with the y component, and the third value with the z component.
Collapse/Expand Example
The following example gets the first coordinate from the "point" field of a Coordinate node and prints it 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[3];
point_changed.Get1Value(0, v);
System.Console.WriteLine("x = " + v[0] + ", y = " + v[1] + ", z = " + v[2]);