Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
ISceneNodeAnimatorFactory.hpp
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 nirtcpp/nirtcpp.hpp
4
5#ifndef NIRT_I_SCENE_NODE_ANIMATOR_FACTORY_HPP_INCLUDED
6#define NIRT_I_SCENE_NODE_ANIMATOR_FACTORY_HPP_INCLUDED
7
8#include <nirtcpp/core/engine/IReferenceCounted.hpp>
9#include <nirtcpp/core/engine/ESceneNodeAnimatorTypes.hpp>
10
11namespace nirt
12{
13namespace 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
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 nirt
67
68#endif
Base class of most objects of the Nirtcpp Engine.
Definition IReferenceCounted.hpp:46
Interface for dynamic creation of scene node animators.
Definition ISceneNodeAnimatorFactory.hpp:28
virtual u32 getCreatableSceneNodeAnimatorTypeCount() const =0
returns amount of scene node animator types this factory is able to create
virtual ISceneNodeAnimator * createSceneNodeAnimator(const c8 *typeName, ISceneNode *target)=0
creates a scene node animator based on its type name
virtual ESCENE_NODE_ANIMATOR_TYPE getCreateableSceneNodeAnimatorType(u32 idx) const =0
returns type of a creatable scene node animator type
virtual const c8 * getCreateableSceneNodeAnimatorTypeName(u32 idx) const =0
returns type name of a creatable scene node animator type
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(ESCENE_NODE_ANIMATOR_TYPE type) const =0
returns type name of a creatable scene node animator type
Animates a scene node. Can animate position, rotation, material, and so on.
Definition ISceneNodeAnimator.hpp:32
Scene node interface.
Definition ISceneNode.hpp:43
ESCENE_NODE_ANIMATOR_TYPE
An enumeration for all types of built-in scene node animators.
Definition ESceneNodeAnimatorTypes.hpp:15
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64
char c8
8 bit character variable.
Definition irrTypes.hpp:37

Nirtcpp    @cppfx.xyz

Utxcpp    utx::print