Creates new nodes from a VRML source string.
Declaring type: Browser
Namespace: Vrml.EAI
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract Node[] CreateVrmlFromString (
        string vrmlString
) 
Parameters
vrmlString
A string in VRML (classic) encoding that contains a textual representation of the nodes and their fields.
Return Value
The root nodes of the scene
Collapse/Expand Remarks
The newly created nodes are not part of the scene graph, i.e. you have to call the ReplaceWorld method, or you have to send them to a SFNode or MFNode event-in slot before they show any effect.
Collapse/Expand Example
The following example demonstrates how to create a box shape:
C#
Vrml.EAI.Browser browser = ...;
Vrml.EAI.Node[] nodes = browser.CreateVrmlFromString("Shape { geometry Box {} }");