Node
R2026bDescription
A Node object represents a 3D mesh, such as vehicles,
buildings, or terrain, in the RoadRunner Viewer scene graph. Use a Node object to modify the color and
transforms of the corresponding 3D mesh.
Creation
The function adds a 3D mesh node, using
the asset in the specified path, to the scene graph of the specified RoadRunner Viewer object. To specify for a addMeshNodeNode object to be a child of
another 3D mesh node, set the ParentNode argument to the desired parent
Node. For example, childCar =
addMeshNode(rrViewer,Filepath="Vehicles/Sedan.fbx",ParentNode=sedan); adds a new
mesh node, childCar, that uses the Sedan.fbx asset to
the scene graph and specifies childCar as a child node
sedan.
Properties
Object Functions
setPaintColor | Specify 3D mesh node color |
Examples
Version History
Introduced in R2026b
See Also
roadrunnerViewer | | addMeshNode | removeMeshNode | addPrimitiveaddImageOverlay
Topics
- Get Started with RoadRunner Viewer (RoadRunner Scenario)
- RoadRunner Project and Scene System (RoadRunner)