rgl.clear {rgl} | R Documentation |
Clear shapes, lights, bbox
rgl.clear( type = "shapes" ) rgl.pop( type = "shapes" )
type |
Select subtype:
|
RGL holds two stacks. One is for shapes and the other is for lights.
rgl.clear
clears the specified stack, while rgl.pop
removes
the top-most (last added) node on the stack.
Since the bounding box is an optional element, one can disable it
with rgl.clear
.