User`s guide

10 Functions — Alphabetical List
10-78
mynode = vrnode([]) creates an empty array of vrnode handles.
mynode = vrnode(vrworld_object,'node_name') creates a handle to an existing
named node in the virtual world.
mynode = vrnode(vrworld_object, 'node_name','node_type') creates a new
node called node_name of type node_type on the root of the virtual world. It returns the
handle to the newly created node.
mynode = vrnode(vrworld_object, 'USE', othernode) creates a USE reference
to the node othernode on the root of the world vrworld_object. It returns the handle
to the virtual world to the original node.
mynode = vrnode(parent_node,'parent_field', 'node_name','node_type')
creates a new node called node_name of type node_type that is a child of the
parent_node and resides in the field parent_field. It returns the handle to the newly
created node.
mynode = vrnode(parent_node,'parent_field', 'USE', 'othernode')
creates a USE reference to the node othernode as a child of node parentnode and
resides in the field parentfield. It returns the handle to the original node.
A vrnode object identifies a virtual world node in a way very similar to a handle.
If you apply the vrnode method to a node that does not exist, the method creates a
node, the vrnode object, and returns the handle to the vrnode object. If you apply the
vrnode method to an existing node, the method returns the handle to the vrnode object
associated with this node.
Method Summary
Method Description
delete Remove vrnode object
fields VRML field summary of node object
get Property value of vrnode object
getfield Field value of vrnode object
isvalid 1 if vrnode object is valid, 0 if not
set Change property of virtual world node