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

Click here to see the list of members.

Collapse/Expand Example
The following example demonstrates how to translate a texture 0.5 units upwards:
C#
Vrml.EAI.Node textureTransform = ...;
Vrml.EAI.Field.EventInSFVec2f set_translation = (Vrml.EAI.Field.EventInSFVec2f)textureTransform.GetEventIn("set_translation");
float x = 0.0f;
float y = 0.5f;
float[] translation = new float[] { x, y };
set_translation.SetValue(translation);