aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/ISceneNodeAnimatorCameraMaya.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:24:39 +1000
committerDavid Walter Seikel2013-01-13 17:24:39 +1000
commit393b5cd1dc438872af89d334ef6e5fcc59f27d47 (patch)
tree6a14521219942a08a1b95cb2f5a923a9edd60f63 /libraries/irrlicht-1.8/include/ISceneNodeAnimatorCameraMaya.h
parentAdd a note about rasters suggested start up code. (diff)
downloadSledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.zip
SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.gz
SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.bz2
SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.xz
Added Irrlicht 1.8, but without all the Windows binaries.
Diffstat (limited to '')
-rw-r--r--libraries/irrlicht-1.8/include/ISceneNodeAnimatorCameraMaya.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/include/ISceneNodeAnimatorCameraMaya.h b/libraries/irrlicht-1.8/include/ISceneNodeAnimatorCameraMaya.h
new file mode 100644
index 0000000..94bd2e5
--- /dev/null
+++ b/libraries/irrlicht-1.8/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