aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 22:28:34 +1000
committerDavid Walter Seikel2016-03-28 22:28:34 +1000
commit7028cbe09c688437910a25623098762bf0fa592d (patch)
tree10b5af58277d9880380c2251f109325542c4e6eb /src/others/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h
parentMove lemon to the src/others directory. (diff)
downloadSledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz
Move Irrlicht to src/others.
Diffstat (limited to 'src/others/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h')
-rw-r--r--src/others/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h b/src/others/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h
new file mode 100644
index 0000000..94bd2e5
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h
@@ -0,0 +1,58 @@
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_MAYA_H_INCLUDED__
6#define __I_SCENE_NODE_ANIMATOR_CAMERA_MAYA_H_INCLUDED__
7
8#include "ISceneNodeAnimator.h"
9
10namespace irr
11{
12
13namespace scene
14{
15
16 //! Special scene node animator for Maya-style cameras
17 /** This scene node animator can be attached to a camera to make it act like a 3d
18 modelling tool.
19 The camera is moving relative to the target with the mouse, by pressing either
20 of the three buttons.
21 In order to move the camera, set a new target for the camera. The distance defines
22 the current orbit radius the camera moves on. Distance can be changed via the setter
23 or by mouse events.
24 */
25 class ISceneNodeAnimatorCameraMaya : public ISceneNodeAnimator
26 {
27 public:
28
29 //! Returns the speed of movement
30 virtual f32 getMoveSpeed() const = 0;
31
32 //! Sets the speed of movement
33 virtual void setMoveSpeed(f32 moveSpeed) = 0;
34
35 //! Returns the rotation speed
36 virtual f32 getRotateSpeed() const = 0;
37
38 //! Set the rotation speed
39 virtual void setRotateSpeed(f32 rotateSpeed) = 0;
40
41 //! Returns the zoom speed
42 virtual f32 getZoomSpeed() const = 0;
43
44 //! Set the zoom speed
45 virtual void setZoomSpeed(f32 zoomSpeed) = 0;
46
47 //! Returns the current distance, i.e. orbit radius
48 virtual f32 getDistance() const = 0;
49
50 //! Set the distance
51 virtual void setDistance(f32 distance) = 0;
52 };
53
54} // end namespace scene
55} // end namespace irr
56
57#endif
58