Loading...
Searching...
No Matches
ISceneNodeAnimatorCameraFPS.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_SCENE_NODE_ANIMATOR_CAMERA_FPS_H_INCLUDED__
#define __I_SCENE_NODE_ANIMATOR_CAMERA_FPS_H_INCLUDED__
#include "ISceneNodeAnimator.h"
#include "IEventReceiver.h"
#include "irrArray.h"
namespace irr
{
struct SKeyMap;
namespace scene
{
class ISceneNodeAnimatorCameraFPS : public ISceneNodeAnimator
{
public:
virtual f32 getMoveSpeed() const = 0;
virtual void setMoveSpeed(f32 moveSpeed) = 0;
virtual f32 getRotateSpeed() const = 0;
virtual void setRotateSpeed(f32 rotateSpeed) = 0;
virtual void setKeyMap(SKeyMap *map, u32 count) = 0;
virtual void setKeyMap(const core::array<SKeyMap>& keymap) = 0;
virtual const core::array<SKeyMap>& getKeyMap() const = 0;
virtual void setVerticalMovement(bool allow) = 0;
virtual void setInvertMouse(bool invert) = 0;
};
} // end namespace scene
} // end namespace irr
#endif
IEventReceiver.h
ISceneNodeAnimator.h
irr::core::array
Self reallocating template array (like stl vector) with additional features.
Definition irrArray.h:23
irr::scene::ISceneNodeAnimatorCameraFPS
Special scene node animator for FPS cameras.
Definition ISceneNodeAnimatorCameraFPS.h:24
irr::scene::ISceneNodeAnimatorCameraFPS::setMoveSpeed
virtual void setMoveSpeed(f32 moveSpeed)=0
Sets the speed of movement in units per millisecond.
irr::scene::ISceneNodeAnimatorCameraFPS::setKeyMap
virtual void setKeyMap(SKeyMap *map, u32 count)=0
Sets the keyboard mapping for this animator (old style).
irr::scene::ISceneNodeAnimatorCameraFPS::setVerticalMovement
virtual void setVerticalMovement(bool allow)=0
Sets whether vertical movement should be allowed.
irr::scene::ISceneNodeAnimatorCameraFPS::getKeyMap
virtual const core::array< SKeyMap > & getKeyMap() const =0
Gets the keyboard mapping for this animator.
irr::scene::ISceneNodeAnimatorCameraFPS::setKeyMap
virtual void setKeyMap(const core::array< SKeyMap > &keymap)=0
irr::scene::ISceneNodeAnimatorCameraFPS::setRotateSpeed
virtual void setRotateSpeed(f32 rotateSpeed)=0
Set the rotation speed in degrees.
irr::scene::ISceneNodeAnimatorCameraFPS::getRotateSpeed
virtual f32 getRotateSpeed() const =0
Returns the rotation speed in degrees.
irr::scene::ISceneNodeAnimatorCameraFPS::setInvertMouse
virtual void setInvertMouse(bool invert)=0
Sets whether the Y axis of the mouse should be inverted.
irr::scene::ISceneNodeAnimatorCameraFPS::getMoveSpeed
virtual f32 getMoveSpeed() const =0
Returns the speed of movement in units per millisecond.
irr::scene::ISceneNodeAnimator
Animates a scene node. Can animate position, rotation, material, and so on.
Definition ISceneNodeAnimator.h:31
irrArray.h
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition CDynamicMeshBuffer.h:16
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::f32
float f32
32 bit floating point variable.
Definition irrTypes.h:104
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
irr::SKeyMap
Struct storing which key belongs to which action.
Definition SKeyMap.h:30
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0