Reference to a MFRotation event-out slot.
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract class EventOutMFRotation :  EventOutMField
Collapse/Expand Remarks
Use this class to read values from MFRotation event-out slots.
Collapse/Expand Members

Click here to see the list of members.

Collapse/Expand Example
The following example gets the rotation values from the "keyValue" field of an OrientationInterpolator node and prints them to the console:
C#
Vrml.EAI.Node orientationInterpolator = ...;
Vrml.EAI.Field.EventOutMFRotation keyValue_changed = (Vrml.EAI.Field.EventOutMFRotation)orientationInterpolator.GetEventOut("keyValue_changed");
float[][] r = keyValue_changed.GetValue();
for (int i = 0; i < r.Length; ++i)
    System.Console.WriteLine("x = " + r[i][0] + ", y = " + r[i][1] + ", z = " + r[i][2] + ", angle = " + r[i][3]);