The type of event.
The following example shows how to find out which type of
event actually happened:
C# |
---|
Vrml.EAI.Event.BrowserEvent evt = ...;
switch (evt.ID)
{
case Vrml.EAI.Event.BrowserEvent.INITIALIZED:
// The browser finished to load a new scene
...
break;
case Vrml.EAI.Event.BrowserEvent.SHUTDOWN:
// The browser is about to unload a scene
...
break;
case Vrml.EAI.Event.BrowserEvent.URL_ERROR:
// Download from an URL failed
...
break;
case Vrml.EAI.Event.BrowserEvent.CONNECTION_ERROR:
// An error occurred when communicating with the browser
...
break;
}
|