Virtual Reality Toolbox    
vrfigure/set

Change a property value of vrfigure object

Syntax

Arguments

vrfigure_object
Name of a vrfigure object.
property_name
Name of the property you want to set.
property_value
New value of the property.

Description

The set(vrfigure_object) method allows you to set the property value of a vrfigure object. This method is useful when you want to change the value of a property.

Example

Create a vrworld object.

The vrworld object myworld is associated with the virtual world vrmount.wrl. Open the world:

Create a vrfigure object:

The VR Car in the Mountains virtual world opens in the Virtual Reality Toolbox viewer. You can now set the object properties of the vrfigure object f:

You can see that the name of the virtual world has changed in the viewer.

See Also

vrfigure/get, vrfigure


  vrfigure/isvalid Methods - Alphabetical List