vrworld/view
(To be removed) View virtual world
vrworld/view
will be removed in a future release. For more
information, see Version History.
Syntax
view(vrworld_object) x = view(vrworld_object) x = view(vrworld_object,'-internal') x = view(vrworld_object,'-web')
Arguments
| A |
Description
The view
method opens the default virtual world viewer on the host
computer and loads the virtual world associated with the vrworld
object
into the viewer window. You specify the default virtual world viewer using the
DefaultViewer
preference. The virtual world must be open for you to use
this method.
x = view(vrworld_object
) opens the default virtual world viewer on
the host computer and loads the virtual world associated with the vrworld
object into the viewer window. If the Simulink®
3D Animation™ Viewer is used, view
also returns the
vrfigure
handle of the viewer window. If a Web browser is used,
view
returns an empty array of vrfigure
handles.
x = view(vrworld_object,'-internal')
opens the virtual
world in the Simulink
3D Animation Viewer.
x = view(vrworld_object
,'-web
') opens
the virtual world in the Web browser.
If the virtual world is disabled for viewing (that is, the View
property for the associated vrworld
object is set to
'off'
), the view
method does nothing.
Examples
myworld = vrworld('virtual world object name') open(myworld) view(myworld)