arsa  2.7
ISceneNodeAnimatorFactory.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_FACTORY_H_INCLUDED__
6 #define __I_SCENE_NODE_ANIMATOR_FACTORY_H_INCLUDED__
7 
8 #include "IReferenceCounted.h"
10 
11 namespace irr
12 {
13 namespace scene
14 {
15  class ISceneNode;
16  class ISceneNodeAnimator;
17 
19 
28  {
29  public:
30 
32 
37 
39 
43  virtual ISceneNodeAnimator* createSceneNodeAnimator(const c8* typeName, ISceneNode* target) = 0;
44 
46  virtual u32 getCreatableSceneNodeAnimatorTypeCount() const = 0;
47 
49 
52 
54 
56  virtual const c8* getCreateableSceneNodeAnimatorTypeName(u32 idx) const = 0;
57 
59 
62  };
63 
64 
65 } // end namespace scene
66 } // end namespace irr
67 
68 #endif
69 
Interface for dynamic creation of scene node animators.
char c8
8 bit character variable.
Definition: irrTypes.h:35
Scene node interface.
Definition: ISceneNode.h:40
Animates a scene node. Can animate position, rotation, material, and so on.
Everything in the Irrlicht Engine can be found in this namespace.
Definition: CARSADPad.h:6
ESCENE_NODE_ANIMATOR_TYPE
An enumeration for all types of built-in scene node animators.
virtual u32 getCreatableSceneNodeAnimatorTypeCount() const =0
returns amount of scene node animator types this factory is able to create
unsigned int u32
32 bit unsigned variable.
Definition: irrTypes.h:62
GLenum target
virtual ISceneNodeAnimator * createSceneNodeAnimator(ESCENE_NODE_ANIMATOR_TYPE type, ISceneNode *target)=0
creates a scene node animator based on its type id
virtual const c8 * getCreateableSceneNodeAnimatorTypeName(u32 idx) const =0
returns type name of a creatable scene node animator type
Base class of most objects of the Irrlicht Engine.
GLuint GLuint GLsizei GLenum type
Definition: SDL_opengl.h:1571
virtual ESCENE_NODE_ANIMATOR_TYPE getCreateableSceneNodeAnimatorType(u32 idx) const =0
returns type of a creatable scene node animator type