drawTrianglesFromMesh
R2026bDescription
drawTrianglesFromMesh(
draws triangles of the specified pc,filepath,transform,color)color, using the 3D mesh from the
specified file filepath, in the specified primitive collection
pc in the RoadRunner Viewer scene graph. drawTrianglesFromMesh uses the
transform matrix transform to draw the triangles at the specified
position, orientation, and scale. If the specified 3D mesh file contains multiple,
separate meshes, this function draws triangles to form one 3D primitive from all
meshes.
Examples
Input Arguments
Version History
Introduced in R2026b
See Also
roadrunnerViewer | | PrimitiveCollectiondrawnow | | drawTrianglesdrawPoints
Topics
- Get Started with RoadRunner Viewer (RoadRunner Scenario)
- RoadRunner Project and Scene System (RoadRunner)