43 void* onWndUpdateCallback,
44 void* onSelectNodeMeshCallback =
nullptr,
45 void* onNewSceneViewCallback =
nullptr,
46 void* onImGuiBuild =
nullptr,
47 void* onImGuiLoadConfig =
nullptr,
48 void* onImGuiSaveConfig =
nullptr);
58 void slResize(
int sceneViewIndex,
int width,
int height);
66 void slTouch2Down(
int sceneViewIndex,
int x1,
int y1,
int x2,
int y2);
67 void slTouch2Move(
int sceneViewIndex,
int x1,
int y1,
int x2,
int y2);
68 void slTouch2Up(
int sceneViewIndex,
int x1,
int y1,
int x2,
int y2);
75 void slCharInput(
int sceneViewIndex,
unsigned int character);
78 void slRotationQUAT(
float quatX,
float quatY,
float quatZ,
float quatW);
80 void slLocationLatLonAlt(
double latitudeDEG,
double longitudeDEG,
double altitudeM,
float accuracyM);
vector< SLstring > SLVstring
int SLSceneID
Scene identifier.
SLMouseButton
Mouse button codes.
SLKey
Keyboard key codes enumeration.
Enumerations containing OpenGL constants.
void slRotationQUAT(float quatX, float quatY, float quatZ, float quatW)
void slTouch3Down(int sceneViewIndex, int x, int y)
void slLoadCoreAssetsAsync()
void slMouseMove(int sceneViewIndex, int x, int y)
void slSwitchScene(SLSceneView *sv, SLSceneID sceneID)
void slLocationLatLonAlt(double latitudeDEG, double longitudeDEG, double altitudeM, float accuracyM)
void slMouseWheel(int sceneViewIndex, int pos, SLKey modifier)
void slKeyRelease(int sceneViewIndex, SLKey key, SLKey modifier)
void slCharInput(int sceneViewIndex, unsigned int character)
void slTouch2Up(int sceneViewIndex, int x1, int y1, int x2, int y2)
void slLoadCoreAssetsSync()
void slTouch3Up(int sceneViewIndex, int x, int y)
void slResize(int sceneViewIndex, int width, int height)
string slGetWindowTitle(int sceneViewIndex)
Global function to retrieve a window title generated by the scene library.
void slMouseDown(int sceneViewIndex, SLMouseButton button, int x, int y, SLKey modifier)
SLint slCreateSceneView(SLAssetManager *am, SLScene *scene, int screenWidth, int screenHeight, int dotsPerInch, SLSceneID initScene, void *onWndUpdateCallback, void *onSelectNodeMeshCallback=nullptr, void *onNewSceneViewCallback=nullptr, void *onImGuiBuild=nullptr, void *onImGuiLoadConfig=nullptr, void *onImGuiSaveConfig=nullptr)
void slTouch2Move(int sceneViewIndex, int x1, int y1, int x2, int y2)
void slKeyPress(int sceneViewIndex, SLKey key, SLKey modifier)
bool slUpdateParallelJob()
void slCreateApp(SLVstring &cmdLineArgs, const SLstring &dataPath, const SLstring &shaderPath, const SLstring &modelPath, const SLstring &texturePath, const SLstring &fontPath, const SLstring &videoPath, const SLstring &configPath, const SLstring &applicationName)
void slTouch3Move(int sceneViewIndex, int x, int y)
SLSceneView * slNewSceneView(SLScene *s, int dotsPerInch, SLInputManager &inputManager)
void slMouseUp(int sceneViewIndex, SLMouseButton button, int x, int y, SLKey modifier)
void slTouch2Down(int sceneViewIndex, int x1, int y1, int x2, int y2)
void slDoubleClick(int sceneViewIndex, SLMouseButton button, int x, int y, SLKey modifier)
void slSetDeviceParameter(const SLstring ¶meter, SLstring value)
Adds a value to the applications device parameter map.
void slSetupExternalDir(const SLstring &externalDirPath)
SLScene SLSceneView SLint sceneID
Toplevel holder of the assets meshes, materials, textures and shaders.
The SLScene class represents the top level instance holding the scene structure.
SceneView class represents a dynamic real time 3D view onto the scene.