Main Content

vrnode/set

Change property of virtual world node

Syntax

x = set(vrnode_object, 'property_name','property_value')

Arguments

vrnode_object

Name of a vrnode object representing a node in the virtual world.

property_name

Name of a property.

property_value

Value of a property.

Description

x = set(vrnode_object, 'property_name','property_value') changes the specified property of the vrnode object to the specified value.

The vrnode property values are case sensitive, while property names are not case sensitive.

The vrnode property values are case sensitive, while property names are not case sensitive.

The vrnode objects have the following properties. All these properties are read only.

PropertyValueDescription

Fields

Cell array

Valid field names for the node. Read only.

Name

String

Name of the node. Read only.

Type

String

Type of the node. The value is a string (for example, 'Transform', 'Shape'). Read only.

World

Handle

Handle of the parent vrworld object. This is a vrworld object that represents the node's parent world. Read only.

Currently, nodes have no settable properties.

Version History

Introduced before R2006a