~baltix/+junk/irrlicht-test

« back to all changes in this revision

Viewing changes to include/ISceneNodeAnimatorCameraMaya.h

  • Committer: Mantas Kriaučiūnas
  • Date: 2011-07-18 13:06:25 UTC
  • Revision ID: mantas@akl.lt-20110718130625-c5pvifp61e7kj1ol
Included whole irrlicht SVN libraries to work around launchpad recipe issue with quilt, see https://answers.launchpad.net/launchpad/+question/165193

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (C) 2002-2011 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
 
 
10
namespace irr
 
11
{
 
12
 
 
13
namespace 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
        */
 
22
        class ISceneNodeAnimatorCameraMaya : public ISceneNodeAnimator
 
23
        {
 
24
        public:
 
25
 
 
26
                //! Returns the speed of movement
 
27
                virtual f32 getMoveSpeed() const = 0;
 
28
 
 
29
                //! Sets the speed of movement
 
30
                virtual void setMoveSpeed(f32 moveSpeed) = 0;
 
31
 
 
32
                //! Returns the rotation speed
 
33
                virtual f32 getRotateSpeed() const = 0;
 
34
 
 
35
                //! Set the rotation speed
 
36
                virtual void setRotateSpeed(f32 rotateSpeed) = 0;
 
37
 
 
38
                //! Returns the zoom speed
 
39
                virtual f32 getZoomSpeed() const = 0;
 
40
 
 
41
                //! Set the zoom speed
 
42
                virtual void setZoomSpeed(f32 zoomSpeed) = 0;
 
43
 
 
44
        };
 
45
 
 
46
} // end namespace scene
 
47
} // end namespace irr
 
48
 
 
49
#endif
 
50