User`s guide

vrnode/set
10-87
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.
Property Value Description
Fields Cell array Valid field names for the VRML node. Read only.
Name String Name of the node. Read only.
Type String VRML type of the node. The value is a string (for example,
'Transform', 'Shape'). Read only.