addNode
Class: Aero.VirtualRealityAnimation
Namespace: Aero
(To be removed) Add existing node to current virtual reality world
addNode
will be removed in a future release.
Syntax
addNode(h,node_name,wrl_file)
Description
addNode(
adds a new node named h
,node_name
,wrl_file
)node_name
, which contains (or points to) the
wrl_file
. It creates a node object on the world of type
Transform
and adds an existing node, node_name
, to the
current virtual reality world.
The addNode
method adds all the objects in the .wrl
file to the virtual reality animation object under one node. If you want to add separate nodes
for the objects in the .wrl
file, place each node in a separate
.wrl
file.
Define the vrnode
object associated with the node object using a
DEF
statement in the .wrl
file.
Input Arguments
Examples
Version History
Introduced in R2007bSee Also
Aero.Node
| move
| removeNode
| updateNodes
| Aero.VirtualRealityAnimation
| vrnode
(Simulink 3D Animation) | vrworld
(Simulink 3D Animation)