Detailed Description
Extended toolset class. Here you will find some useful functions when you are making just small applications or test programs.
Function Documentation
SP_EXPORT void sp::tool::Toolset::moveCameraFree |
( |
scene::Camera * |
Cam = 0 , |
|
|
f32 |
MoveSpeed = 0.25f , |
|
|
f32 |
TurnSpeed = 0.25f , |
|
|
f32 |
MaxTurnDegree = 90.0f , |
|
|
bool |
UseArrowKeys = true | |
|
) |
| | |
Moves a Camera object free. This function is normally used for debuging while the project is still in progress. Use the arrow keys for W/A/S/D like in first-person-shooters.
- Parameters:
-
[in] | Cam | Camera object which is to be moved. |
[in] | MoveSpeed | Specifies the speed for moving around. Multiply this with the global speed, to adjust the movement when the FPS goes up and down. |
[in] | TurnSpeed | Specifies the speed for looking around. |
[in] | MaxTurnDegree | Specifies the maximal degree for the rotation on X-Axis. |
[in] | UseArrowKeys | Specifies whether the arrow keys can also be used for moving or not. Set this to false if the arrow keys are used for other operations. |
- See also:
- io::Timer::getGlobalSpeed
SP_EXPORT void sp::tool::Toolset::presentModel |
( |
scene::Mesh * |
Model, |
|
|
bool |
UseZoome | |
|
) |
| | |
todo! -> touch-screen interactions