User`s guide
vrfigure class
10-31
vrfigure class
Create virtual reality figure
Description
Creates a virtual reality figure.
To access vrfigure properties, use the vrfigure/get method. To change properties,
use the vrfigure/set method.
If you create a vrfigure object by specifying a virtual world, the virtual figure displays
in the viewer specified in the vrsetpref DefaultViewer property.
Construction
virtual_figure = vrfigure(world) creates a virtual reality figure showing the
specified virtual world.
virtual_figure = vrfigure(world,position) creates a virtual reality figure at
the specified position.
virtual_figure = vrfigure([]) returns an empty vrfigure object that does not
have a visual representation.
virtual_figure = vrfigure returns an empty vector of type vrfigure.
Input Arguments
world — Virtual world
vrworld object
Virtual world, specified as a vrworld object.
Note: Open the virtual world that you specify before you create a vrfigure object using
that virtual world.