Main Content

nodeInfo

(To be removed) Create list of nodes associated with virtual reality animation object

Simulink 3D Animation Viewer used by nodeInfo has been removed. Aero.VirtualRealityAnimation does not open or play animations. Use sim3d classes in Unreal Engine 3d Environment to create and view a 3D environment instead. For more information on transitioning to the new 3D environment, see Transition Aero.VirtualRealityAnimation to Unreal Engine 3D Environment.

Description

nodeInfo(h) creates a list of nodes associated with the virtual reality animation object, h.

n = nodeInfo(h) returns a cell array n that contains the node information.

example

Examples

collapse all

This example shows how to create a list of nodes associated with the virtual reality animation object, h.

h = Aero.VirtualRealityAnimation;
h.VRWorldFilename = 'asttkoff.wrl';
h.initialize();

{"String":"Figure VR Plane Take-Off contains objects of type hgjavacomponent, uimenu, uipanel, uitoolbar.","Tex":[],"LaTex":[]}

h.nodeInfo;
Node Information
1	Camera1
2	Plane
3	_V2
4	Block
5	Terminal
6	_v3
7	Lighthouse
8	_v1

Input Arguments

collapse all

Virtual reality animation object, specified as an Aero.VirtualRealityAnimation object.

Output Arguments

collapse all

Node information, returned as a cell array. The information is returned in a cell array as follows:

N{1,n} = Node Index
N{2,n} = Node Name
N{3,n} = Node Type

where n is the number of nodes. You might want to use this function to find an existing node by name and then perform a certain action on it using the node index.

Version History

Introduced in R2007b

expand all