scene {rgl} | R Documentation |
Clear shapes, lights, bbox
clear3d( type = c("shapes", "bboxdeco") ) rgl.clear( type = "shapes" ) pop3d( ... ) rgl.pop( type = "shapes" )
type |
Select subtype(s):
|
... |
generic arguments passed through to RGL-specific (or other) functions |
RGL holds two stacks. One is for shapes and the other is for lights.
clear3d
and rgl.clear
clear the specified stack, or restore
the defaults for the bounding box (not visible) or viewpoint. rgl.pop
removes
the top-most (last added) node on the shape stack.
Note that clearing the light stack leaves the scene in darkness; it should normally
be followed by a call to rgl.light
or light3d
.