Returns the current value of a MFTime event-out slot.
Declaring type: EventOutMFTime
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract void GetValue (
        double[] value
) 
Parameters
value
An array of double values that gets filled with the current time values of the MFTime event-out slot. The double values contain the number of seconds since January the 1st, 1970, 00:00:00 GMT.
Collapse/Expand Example
The following example gets the values of an "timestamps_changed" event-out slot of a Script node and prints them to the console:
C#
Vrml.EAI.Node script = ...;
Vrml.EAI.Field.EventOutMFTime timestamps_changed = (Vrml.EAI.Field.EventOutMFTime)script.GetEventOut("timestamps_changed");
System.DateTime baseTime = new System.DateTime(1970, 1, 1, 0, 0, 0, 0, System.DateTimeKind.Utc);
int size = timestamps_changed.Size;
double[] t = new double[size];
timestamps_changed.GetValue(t);
for (int i = 0; i < size; ++i)
    System.Console.WriteLine(baseTime.AddSeconds(t[i]).ToLocalTime());