 Syntax
Syntax
| C# | 
|---|
| public abstract double GetValue () | 
 Example
Example
| C# | 
|---|
| Vrml.EAI.Node timeSensor = ...;
Vrml.EAI.Field.EventOutSFTime time = (Vrml.EAI.Field.EventOutSFTime)timeSensor.GetEventOut("time");
System.DateTime t = new System.DateTime(1970, 1, 1, 0, 0, 0, 0, System.DateTimeKind.Utc).AddSeconds(time.GetValue()).ToLocalTime();
System.Console.WriteLine("Time = " + t);
 |