Saga3D API Documentation  1.0-RC4
ISceneNodeAnimatorCameraFPS.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __I_SCENE_NODE_ANIMATOR_CAMERA_FPS_H_INCLUDED__
6 #define __I_SCENE_NODE_ANIMATOR_CAMERA_FPS_H_INCLUDED__
7 
8 #include "ISceneNodeAnimator.h"
9 #include "IEventReceiver.h"
10 
11 namespace saga
12 {
13 namespace scene
14 {
15 
17 
21  {
22  public:
23 
25  virtual float getMoveSpeed() const = 0;
26 
28  virtual void setMoveSpeed(float moveSpeed) = 0;
29 
31 
34  virtual float getRotateSpeed() const = 0;
35 
37  virtual void setRotateSpeed(float rotateSpeed) = 0;
38 
40 
42  virtual void setInvertMouse(bool invert) = 0;
43  };
44 } // namespace scene
45 } // namespace saga
46 
47 #endif // __I_SCENE_NODE_ANIMATOR_CAMERA_FPS_H_INCLUDED__
saga::scene::ISceneNodeAnimator
Animates a scene node. Can animate position, rotation, material, and so on.
Definition: ISceneNodeAnimator.h:24
ISceneNodeAnimator.h
saga::scene::ISceneNodeAnimatorCameraFPS::setMoveSpeed
virtual void setMoveSpeed(float moveSpeed)=0
Sets the speed of movement in units per millisecond.
saga::scene::ISceneNodeAnimatorCameraFPS
Special scene node animator for FPS cameras.
Definition: ISceneNodeAnimatorCameraFPS.h:20
saga::scene::ISceneNodeAnimatorCameraFPS::setInvertMouse
virtual void setInvertMouse(bool invert)=0
Sets whether the Y axis of the mouse should be inverted.
IEventReceiver.h
saga::scene::ISceneNodeAnimatorCameraFPS::setRotateSpeed
virtual void setRotateSpeed(float rotateSpeed)=0
Set the rotation speed in degrees when using mouse.
saga::scene::ISceneNodeAnimatorCameraFPS::getRotateSpeed
virtual float getRotateSpeed() const =0
Returns the rotation speed in degrees when using mouse.
saga::scene::ISceneNodeAnimatorCameraFPS::getMoveSpeed
virtual float getMoveSpeed() const =0
Returns the speed of movement in units per millisecond.
saga
Definition: aabbox3d.h:11