Reference to a SFVec2f event-out slot.
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract class EventOutSFVec2f :  EventOut
Collapse/Expand Remarks
Use this class to read values from SFVec2f event-out slots.
Collapse/Expand Members

Click here to see the list of members.

Collapse/Expand Example
The following example demonstrates how to get the texture coordinate of the hit point from a TouchSensor node:
C#
Vrml.EAI.Node touchSensor = null;
Vrml.EAI.Field.EventOutSFVec2f hitTexCoord_changed = (Vrml.EAI.Field.EventOutSFVec2f)touchSensor.GetEventOut("hitTexCoord_changed");
float[] coord = hitTexCoord_changed.GetValue();
System.Console.WriteLine("x = " + coord[0] + ", y = " + coord[1]);