Main Content

vrworld/nodes

List nodes available in virtual world

Syntax

nodes(vrworld_object, '-full')
x = nodes(vrworld_object, '-full')

Arguments

vrworld_object

A vrworld object representing a virtual world.

'-full'

Optional switch to obtain a detailed list of nodes and fields.

Description

If you give an output argument, the method nodes returns a cell array of the names of all available nodes in the world. If you do not give an output argument, the list of nodes is displayed in the MATLAB® window.

You can use the '-full' switch to obtain a detailed list that contains not only the nodes, but also all their fields. This switch affects only the output to the MATLAB Command Window.

The virtual world must be open for you to use this method.

Version History

Introduced before R2006a