glVertex
5.5.2
|
scene class container for multiple graphical objects More...
#include <glvertex_scene.h>
Public Member Functions | |
lgl_GraphicalObjectScene (lgl_Cam *cam=NULL, lgl_Objects *objs=NULL) | |
ctor | |
void | setCam (lgl_Cam *cam) |
set scene camera | |
void | setObjects (lgl_Objects *objs) |
set scene objects | |
lgl_Objects * | getObjects () |
get scene objects | |
void | enableDepthSorting (bool on=true) |
enable depth sorting of semi-transparent objects | |
double | getTime () |
get current time | |
void | restart () |
restart time | |
bool | paused () |
is the scene paused? | |
void | pause (bool yes=true) |
pause the scene | |
void | toggle_animation () |
toggle the animation | |
int | viewportWidth () |
get the current viewport width | |
int | viewportHeight () |
get the current viewport height | |
double | viewportAspect () |
get the current viewport aspect | |
void | update () |
trigger an update | |
void | provideNextScene (lgl_Scene *next) |
provide scene that will replace the actual one on next frame | |
scene class container for multiple graphical objects