rgl.clear {rgl}R Documentation

scene management

Description

Clear shapes, lights, bbox

Usage

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

Arguments

type Possible types are
  • "shapes" to clear all model datas
  • "lights" to clear all lights
  • "bbox" remove bounding box

Details

rgl holds a stack for shapes and lights. rgl.clear clears the stack, while rgl.pop pops off the top-most (last added) node on the stack.

See Also

rgl


[Package Contents]