Replaces the currently loaded scene with the given nodes.
Declaring type: Browser
Namespace: Vrml.EAI
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract void ReplaceWorld (
        Node[] nodes
) 
Parameters
nodes
The nodes of the new scene
Collapse/Expand Example
The following example demonstrates how to replace the currently loaded scene with a box:
C#
Vrml.EAI.Browser browser = ...;
Vrml.EAI.Node[] nodes = browser.CreateVrmlFromString("Shape { geometry Box {} }");
browser.ReplaceWorld(nodes);