addNode
Class: Aero.VirtualRealityAnimation
Namespace: Aero
(To be removed) Add existing node to current virtual reality world
Simulink 3D Animation Viewer used by addNode
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.
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)