Quantcast

Documentation Center

  • Trial Software
  • Product Updates

figure

Create new virtual reality figure

Syntax

f = figure
f = figure([])
f = figure(world)
f = figure(world, 'PropertyName', propertyvalue, ...)

Description

f = figure returns an empty figure object. This object does not have a visual representation. All properties are empty.

f = figure([]) returns an empty vector of type figure.

f = figure(world) creates a new virtual reality figure. It shows the specified world(s) and returns the figure object, f.

f = figure(world, 'PropertyName', propertyvalue, ...) shows the specified world(s) with specified properties and returns the figure object, f.

Creating a virtual figure object with this method creates and displays the object in the figure window viewer (default viewer 'internalv5'). It ignores the value of the vrsetpref DefaultViewer property.

Examples

Create a vrfigure object.

w=vrworld('membrane.wrl')
open(w);
f=vrfigure(w)
Was this topic helpful?