Returns one element of the MFVec2f event-out slot.
Declaring type: EventOutMFVec2f
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract float[] Get1Value (
        int index
) 
Parameters
index
The index of the element, starting at 0.
Return Value
The vector value. This is an array of two float values. The first value contains the x component of the vector, and the second value the y component.
Collapse/Expand Example
The following example gets the first texture coordinate from the "point" field of a TextureCoordinate node and prints it to the console:
C#
Vrml.EAI.Node textureCoordinate = ...;
Vrml.EAI.Field.EventOutMFVec2f point_changed = (Vrml.EAI.Field.EventOutMFVec2f)textureCoordinate.GetEventOut("point_changed");
float[] v = point_changed.Get1Value(0);
System.Console.WriteLine("x = " + v[0] + ", y = " + v[1]);