Learn R Programming

rgl (version 0.65)

scene: scene management

Description

Clear shapes, lights, bbox

Usage

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

Arguments

type
Select subtype: [object Object],[object Object],[object Object]
...
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