Documentation Center

  • Trial Software
  • Product Updates

vrnode/get

Property value of vrnode object

Syntax

get(vrnode_object)
x = get(vrnode_object)
x = get(vrnode_object, 'property_name')

Arguments

vrnode_object

Name of a vrnode object representing the node to be queried.

property_name

Name of the property to be read.

Description

get(vrnode_object) lists all vrnode properties in the MATLAB® Command Window.

x = get(vrnode_object), where vrnode_object is a scalar, returns a structure where each field name is the name of a property and each field contains the value of that property.

x = get(vrnode_object, 'property_name') returns the value of given property.

If vrnode_object is a vector of vrnode handles, get returns an M-by-1 cell array of values, where M is equal to length(vrnode_object).

The vrnode property values are case sensitive. Property names are not case sensitive.

The vrnode object properties allow you to control the behavior and appearance of objects. The vrnode objects have the following properties. All these properties are read only.

PropertyValueDescription

Fields

Cell array

Valid field names for the VRML node.

Name

String

Name of the node.

Type

String

VRML type of the node. The value is a string (for example, 'Transform', 'Shape').

World

Handle

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

See Also

| | |

Was this topic helpful?