Game Develop C++ Platform: RuntimeSceneCameraTools.h Source File

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
RuntimeSceneCameraTools.h
1 #ifndef RUNTIMESCENECAMERATOOLS_H
2 #define RUNTIMESCENECAMERATOOLS_H
3
4 #include <string>
5 #include <vector>
6 class RuntimeObject;
7 class RuntimeScene;
8
9 float GD_API GetCameraX(RuntimeScene & scene, const std::string & layer, unsigned int camera);
10 float GD_API GetCameraY(RuntimeScene & scene, const std::string & layer, unsigned int camera);
11 void GD_API SetCameraX(RuntimeScene & scene, float x, const std::string & layer, unsigned int camera);
12 void GD_API SetCameraY(RuntimeScene & scene, float y, const std::string & layer, unsigned int camera);
13 double GD_API GetCameraAngle(RuntimeScene & scene, const std::string & layer, unsigned int camera);
14 void GD_API SetCameraAngle(RuntimeScene & scene, float newValue, const std::string & layer, unsigned int camera);
15 void GD_API SetCameraZoom(RuntimeScene & scene, float newZoom, const std::string & layer, unsigned int cameraNb);
16 double GD_API GetCameraWidth(RuntimeScene & scene, const std::string & layer, unsigned int camera);
17 double GD_API GetCameraHeight(RuntimeScene & scene, const std::string & layer, unsigned int camera);
18 double GD_API GetCameraViewportLeft(RuntimeScene & scene, const std::string & layer, unsigned int camera);
19 double GD_API GetCameraViewportTop(RuntimeScene & scene, const std::string & layer, unsigned int camera);
20 double GD_API GetCameraViewportRight(RuntimeScene & scene, const std::string & layer, unsigned int camera);
21 double GD_API GetCameraViewportBottom(RuntimeScene & scene, const std::string & layer, unsigned int camera);
22 void GD_API SetCameraSize( RuntimeScene & scene, const std::string & layer, unsigned int cameraNb, float width, float height);
23 void GD_API CenterCameraOnObjectWithLimits(RuntimeScene & scene, RuntimeObject * object, float left, float top, float right, float bottom, bool anticipateObjectMove, const std::string & layer, unsigned int camera);
24 void GD_API CenterCameraOnObject(RuntimeScene & scene, RuntimeObject * object, bool anticipateObjectMove, const std::string & layer, unsigned int camera);
25 void GD_API ActDeleteCamera(RuntimeScene & scene, const std::string & layer, unsigned int camera);
26 void GD_API AddCamera( RuntimeScene & scene, const std::string & layer, float width, float height, float viewportLeft, float viewportTop, float viewportRight, float viewportBottom );
27 void GD_API SetCameraViewport( RuntimeScene & scene, const std::string & layer, unsigned int cameraNb, float viewportLeft, float viewportTop, float viewportRight, float viewportBottom );
28
29
30 #endif // RUNTIMESCENECAMERATOOLS_H
31