Reference to a MFVec3f event-in slot.
C# |
---|
public abstract class EventInMFVec3f : |
EventIn
|
|
Click here to see the list of members.
The following example demonstrates how to write three
position values into the "point" field of a Coordinate
node:
C# |
---|
Vrml.EAI.Node coordinate = ...;
Vrml.EAI.Field.EventInMFVec3f set_point = (Vrml.EAI.Field.EventInMFVec3f)coordinate.GetEventIn("set_point");
float[][] v = new float[3][];
v[0] = new float[] { -1.0f, -1.0f, 0.0f }; // lower left
v[1] = new float[] { 1.0f, -1.0f, 0.0f }; // lower right
v[2] = new float[] { 0.0f, 1.0f, 0.0f }; // top center
set_point.SetValue(v);
|