Reference to a MFVec2f event-in slot.
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract class EventInMFVec2f :  EventIn
Collapse/Expand Remarks
Use this class to write values into MFVec2f event-in slots.
Collapse/Expand Members

Click here to see the list of members.

Collapse/Expand Example
The following example demonstrates how to write three texture coordinate values into the "point" field of a TextureCoordinate node:
C#
Vrml.EAI.Node textureCoordinate = ...;
Vrml.EAI.Field.EventInMFVec2f set_point = (Vrml.EAI.Field.EventInMFVec2f)textureCoordinate.GetEventIn("set_point");
float[][] v = new float[3][];
v[0] = new float[] { 0.0f, 0.0f }; // lower left
v[1] = new float[] { 1.0f, 0.0f }; // lower right
v[2] = new float[] { 0.5f, 1.0f }; // top center
set_point.SetValue(v);