Sets one element of the MFVec3f event-in slot.
Declaring type: EventInMFVec3f
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract void Set1Value (
        int index,
        float[] value
) 
Parameters
index
The index of the element, starting at 0
value
The new vector value. This is an array of at least three float values. The first value is the x component of the vector, the second value the y component, and the third value the z component.
Collapse/Expand Example
The following example demonstrates how to write a new position value into the first element of 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[] { -1.0f, -1.0f, 0.0f };
set_point.Set1Value(0, v);