95 return baseClassResult;
The AppCommon class holds the top-level instances of the app-demo.
C++ Header file for the class AppDemoGui.h.
Definition of scene IDs in the demo app.
static SLint dpi
Dot per inch resolution of screen.
int SLSceneID
Scene identifier.
SLMouseButton
Mouse button codes.
SLKey
Keyboard key codes enumeration.
static optional< SLSceneID > sceneToLoad
Scene id to load at start up.
static SLVSceneView sceneViews
Vector of sceneview pointers.
static SLSceneID sceneID
ID of currently loaded scene.
static SLbool hideUI
Flag if menubar should be shown.
SLbool onKeyRelease(SLKey key, SLKey mod) final
SLbool onKeyPress(SLKey key, SLKey mod) final
SLbool onMouseDown(SLMouseButton button, SLint x, SLint y, SLKey mod) final
AppDemoSceneView(SLScene *s, int dpi, SLInputManager &inputManager)
The SLScene class represents the top level instance holding the scene structure.
SceneView class represents a dynamic real time 3D view onto the scene.
virtual SLbool onKeyRelease(SLKey key, SLKey mod)
virtual SLbool onKeyPress(SLKey key, SLKey mod)
virtual SLbool onMouseDown(SLMouseButton button, SLint scrX, SLint scrY, SLKey mod)