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

Click here to see the list of members.

Collapse/Expand Example
The following example demonstrates how to translate the children of a Transform node 1 unit upwards:
C#
Vrml.EAI.Node transform = ...;
Vrml.EAI.Field.EventInSFVec3f set_translation = (Vrml.EAI.Field.EventInSFVec3f)transform.GetEventIn("set_translation");
float x = 0.0f;
float y = 1.0f;
float z = 0.0f;
float[] translation = new float[] { x, y, z };
set_translation.SetValue(translation);