scene {rgl}R Documentation

scene management

Description

Clear shapes, lights, bbox

Usage

clear3d( ... ) 
rgl.clear( type = "shapes" )
pop3d( ... )
rgl.pop( type = "shapes" )  

Arguments

type Select subtype:
"shapes"
shape stack
"lights"
light stack
"bbox"
bounding box
... generic arguments passed through to RGL-specific (or other) functions

Details

RGL holds two stacks. One is for shapes and the other is for lights. clear3d and rgl.clear clear 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 clear3d.

See Also

rgl rgl.bbox rgl.light


[Package rgl version 0.65 Index]