rgl.clear {rgl}R Documentation

scene management

Description

Clear shapes, lights, bbox

Usage

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

Arguments

type Select subtype:
"shapes"
shape stack
"lights"
light stack
"bbox"
bounding box

Details

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.

See Also

rgl rgl.bbox rgl.light


[Package Contents]