C# |
---|
public const int INITIALIZED = 1 |
The Browser object issues an INITIALIZED event when the X3D browser finished to load a 3D scene. This happens after calling the LoadURL or ReplaceWorld methods of the Browser object, or when the user loads a new scene via the browser user interface.
You usually use this event as a hint when to start interaction with a new scene after calling LoadURL or ReplaceWorld, i.e. after receiving this event it is possible to get references to nodes by calling GetNode, or to create new routes by calling AddRoute.
C# |
---|
Vrml.EAI.Event.BrowserEvent evt = ...; if (evt.ID == Vrml.EAI.Event.BrowserEvent.INITIALIZED) { // The browser finished to load a new scene ... } |