public class Scene extends Object
Model
data structures
and a Camera
data structure.
Each Model
object represents a distinct geometric object
in the scene.
The Camera
object determines a "view volume", which
determines how much of the scene is actually visible (to the
camera) and gets rendered into the framebuffer.
Constructor and Description |
---|
Scene()
Construct a Scene with a default
Camera object. |
Scene(Camera camera)
Construct a Scene with the given
Camera object. |
Modifier and Type | Method and Description |
---|---|
void |
addModel(Model... mArray)
Add a
Model (or Models) to this Scene. |
void |
setCamera(Camera camera)
|
String |
toString()
For debugging.
|