User`s guide

vr.canvas class
10-7
vr.canvas class
Create virtual reality canvas
Description
Create a virtual reality canvas.
Construction
virtualCanvas = vr.canvas(world) creates a virtual reality canvas showing the
specified virtual world.
virtualCanvas = vrfigure(world,parent) creates a virtual reality canvas in the
specified parent figure or uipanel. A uipanel arranges user interface components into
groups. By visually grouping related controls, panels can make the user interface easier
to understand. A panel can have a title and various borders.
virtualCanvas = vr.canvas(world,parent,position) creates a virtual reality
canvas in a figure or uipanel at the specified position.
virtualCanvas = vr.canvas(world,PropertyName,Value,...,PropertyName,
Value) sets the values of the vr.canvas properties specified by one or more
PropertyName,Value pair arguments.
Input Arguments
world — Virtual world
vrworld object
Virtual world, specified as a vrworld object.
Note: Open the virtual world before you create a vr.canvas object using that virtual
world.