Products & Services Solutions Academia Support User Community Company

Learn more about Aerospace Toolbox   

nodeInfo (Aero.VirtualRealityAnimation) - Create list of nodes associated with virtual reality animation object

Syntax

nodeInfo(h)
h.nodeInfo
n = nodeInfo(h)
n = h.nodeInfo

Description

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

n = nodeInfo(h) and n = h.nodeInfo create a cell array (n) that contains the node information. The function stores the information 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.

Examples

Create list of nodes associated with virtual reality animation object, h.

h = Aero.VirtualRealityAnimation;
h.VRWorldFilename = [matlabroot,'/toolbox/aero/astdemos/asttkoff.wrl'];
h.initialize();
h.nodeInfo;

See Also

addNode

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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