reset
R2026bSyntax
Description
reset( clears all 3D primitives in the
specified pc)PrimitiveCollection object pc from the
RoadRunner Viewer scene graph. This function clears only 3D primitives from the
specified primitive collection. It does not clear any other scene graph objects, such as
3D meshes or overlays, or any 3D primitives in unspecified
PrimitiveCollection objects.
Examples
Input Arguments
Limitations
Note that you cannot specify single primitives or primitive types within a primitive collection to clear. For example, if your
PrimitiveCollectionobject contains points, lines, and triangles, you cannot specify for RoadRunner Viewer to remove only the points.
Version History
Introduced in R2026b
See Also
roadrunnerViewer | | PrimitiveCollectionreset | | addPrimitivedrawnow
Topics
- Get Started with RoadRunner Viewer (RoadRunner Scenario)