Creates new nodes from an URL.
Declaring type: Browser
Namespace: Vrml.EAI
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract void CreateVrmlFromURL (
        string[] url,
        Node node,
        string eventIn
) 
Parameters
url
URLs of X3D documents that contain the new nodes. The browser consecutively tries to load the scene from these URLs. It stops as soon as a download succeeds.
node
The node that the new nodes become children of.
eventIn
The name of the MFNode event-in slot the new nodes get sent to.
Collapse/Expand Remarks
This method works asynchronously, i.e. it returns immediately without waiting for the actual download. As soon as the new nodes are available, they're sent to an MFNode event-in slot.
Collapse/Expand Example
The following example demonstrates how to create new nodes from the file "Subscene.wrl" in the current working directory and send them to the addChildren event-in slot of a Group node:
C#
Vrml.EAI.Browser browser = ...;
Vrml.EAI.Node group = ...;
string[] urls = { "Subscene.wrl" };
browser.CreateVrmlFromURL(urls, group, "addChildren");