glVertex
5.5.2
|
scene class container for a scene graph More...
#include <glvertex_scene.h>
Public Member Functions | |
lgl_SceneGraphScene (lgl_Node *root=NULL) | |
ctor | |
lgl_Node * | getSceneGraph () |
get scene graph | |
void | setSceneGraph (lgl_Node *root) |
set scene graph | |
bool | isShadowPlaneEnabled () |
is the shadow plane enabled? | |
void | enableShadowPlane (bool on) |
enable the shadow plane | |
vec3 | getShadowPlaneOrigin () |
get shadow plane origin position | |
vec3 | getShadowPlaneNormal () |
get shadow plane normal vector | |
vec3 | getShadowPlaneDirection () |
get shadow plane light direction | |
void | setShadowPlane (vec3 p, vec3 n, vec3 d) |
set shadow plane | |
void | setShadowColor (vec4 c) |
set shadow color | |
void | enableViewCulling (int minsize=0) |
enable view culling | |
void | disableViewCulling () |
disable view culling | |
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 a scene graph