Reference to a SFVec3f event-in slot.
C# |
---|
public abstract class EventInSFVec3f : |
EventIn
|
|
Click here to see the list of members.
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);
|