Products & Services Solutions Academia Support User Community Company

Learn more about Simulink 3D Animation   

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 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.

World

Handle

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

Currently, VRML nodes have no settable properties.

See Also

vrnode, vrnode/get, vrnode/getfield, vrnode/setfield

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS