Irrlicht 3D Engine
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ISceneNodeAnimator.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_H_INCLUDED__
6
#define __I_SCENE_NODE_ANIMATOR_H_INCLUDED__
7
8
#include "
IReferenceCounted.h
"
9
#include "
vector3d.h
"
10
#include "
ESceneNodeAnimatorTypes.h
"
11
#include "
IAttributeExchangingObject.h
"
12
#include "
IEventReceiver.h
"
13
14
namespace
irr
15
{
16
namespace
io
17
{
18
class
IAttributes;
19
}
// end namespace io
20
namespace
scene
21
{
22
class
ISceneNode;
23
class
ISceneManager;
24
26
30
class
ISceneNodeAnimator
:
public
io::IAttributeExchangingObject
,
public
IEventReceiver
31
{
32
public
:
34
36
virtual
void
animateNode
(
ISceneNode
* node,
u32
timeMs) =0;
37
39
41
virtual
ISceneNodeAnimator
*
createClone
(
ISceneNode
* node,
42
ISceneManager
* newManager=0) =0;
43
45
47
virtual
bool
isEventReceiverEnabled
()
const
48
{
49
return
false
;
50
}
51
53
virtual
bool
OnEvent
(
const
SEvent
& event)
54
{
55
return
false
;
56
}
57
59
virtual
ESCENE_NODE_ANIMATOR_TYPE
getType
()
const
60
{
61
return
ESNAT_UNKNOWN
;
62
}
63
65
67
virtual
bool
hasFinished
(
void
)
const
68
{
69
return
false
;
70
}
71
};
72
73
74
}
// end namespace scene
75
}
// end namespace irr
76
77
#endif
78
Irrlicht Engine
Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sun Apr 21 2019 20:57:28 for Irrlicht 3D Engine by
Doxygen
1.8.1.2