Saga3D API Documentation  1.0-RC4
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 
10 
11 namespace saga
12 {
13 namespace scene
14 {
15  class ISceneNode;
16  class ISceneNodeAnimator;
17 
19 
28  {
29  public:
30 
32 
36  virtual ISceneNodeAnimator* createSceneNodeAnimator(ESCENE_NODE_ANIMATOR_TYPE type, ISceneNode* target) = 0;
37 
39 
43  virtual ISceneNodeAnimator* createSceneNodeAnimator(const char* typeName, ISceneNode* target) = 0;
44 
46  virtual std::uint32_t getCreatableSceneNodeAnimatorTypeCount() const = 0;
47 
49 
51  virtual ESCENE_NODE_ANIMATOR_TYPE getCreateableSceneNodeAnimatorType(std::uint32_t idx) const = 0;
52 
54 
56  virtual const char* getCreateableSceneNodeAnimatorTypeName(std::uint32_t idx) const = 0;
57 
59 
61  virtual const char* getCreateableSceneNodeAnimatorTypeName(ESCENE_NODE_ANIMATOR_TYPE type) const = 0;
62  };
63 
64 
65 } // namespace scene
66 } // namespace saga
67 
68 #endif
69 
saga::scene::ISceneNodeAnimator
Animates a scene node. Can animate position, rotation, material, and so on.
Definition: ISceneNodeAnimator.h:24
saga::scene::ISceneNodeAnimatorFactory::createSceneNodeAnimator
virtual ISceneNodeAnimator * createSceneNodeAnimator(ESCENE_NODE_ANIMATOR_TYPE type, ISceneNode *target)=0
creates a scene node animator based on its type id
saga::scene::ISceneNode
Type for list of scene node animators.
Definition: ISceneNode.h:41
saga::scene::ISceneNodeAnimatorFactory::getCreateableSceneNodeAnimatorTypeName
virtual const char * getCreateableSceneNodeAnimatorTypeName(std::uint32_t idx) const =0
returns type name of a creatable scene node animator type
ESceneNodeAnimatorTypes.h
saga::scene::ISceneNodeAnimatorFactory::getCreateableSceneNodeAnimatorType
virtual ESCENE_NODE_ANIMATOR_TYPE getCreateableSceneNodeAnimatorType(std::uint32_t idx) const =0
returns type of a creatable scene node animator type
saga::scene::ISceneNodeAnimatorFactory
Interface for dynamic creation of scene node animators.
Definition: ISceneNodeAnimatorFactory.h:27
saga::scene::ISceneNodeAnimatorFactory::getCreatableSceneNodeAnimatorTypeCount
virtual std::uint32_t getCreatableSceneNodeAnimatorTypeCount() const =0
returns amount of scene node animator types this factory is able to create
saga
Definition: aabbox3d.h:11