Skylicht Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
Irrlicht
Include
ISceneNodeAnimatorFactory.h
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"
9
#include "ESceneNodeAnimatorTypes.h"
10
11
namespace
irr
12
{
13
namespace
scene
14
{
15
class
ISceneNode
;
16
class
ISceneNodeAnimator
;
17
19
27
class
ISceneNodeAnimatorFactory
:
public
virtual
IReferenceCounted
28
{
29
public
:
30
32
36
virtual
ISceneNodeAnimator
*
createSceneNodeAnimator
(
ESCENE_NODE_ANIMATOR_TYPE
type,
ISceneNode
* target) = 0;
37
39
43
virtual
ISceneNodeAnimator
*
createSceneNodeAnimator
(
const
c8
* typeName,
ISceneNode
* target) = 0;
44
46
virtual
u32
getCreatableSceneNodeAnimatorTypeCount
()
const
= 0;
47
49
51
virtual
ESCENE_NODE_ANIMATOR_TYPE
getCreateableSceneNodeAnimatorType
(
u32
idx)
const
= 0;
52
54
56
virtual
const
c8
*
getCreateableSceneNodeAnimatorTypeName
(
u32
idx)
const
= 0;
57
59
61
virtual
const
c8
*
getCreateableSceneNodeAnimatorTypeName
(
ESCENE_NODE_ANIMATOR_TYPE
type)
const
= 0;
62
};
63
64
65
}
// end namespace scene
66
}
// end namespace irr
67
68
#endif
69
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition
IReferenceCounted.h:50
irr::scene::ISceneNodeAnimatorFactory
Interface for dynamic creation of scene node animators.
Definition
ISceneNodeAnimatorFactory.h:28
irr::scene::ISceneNodeAnimatorFactory::getCreateableSceneNodeAnimatorTypeName
virtual const c8 * getCreateableSceneNodeAnimatorTypeName(u32 idx) const =0
returns type name of a createable scene node animator type
irr::scene::ISceneNodeAnimatorFactory::getCreateableSceneNodeAnimatorType
virtual ESCENE_NODE_ANIMATOR_TYPE getCreateableSceneNodeAnimatorType(u32 idx) const =0
returns type of a createable scene node animator type
irr::scene::ISceneNodeAnimatorFactory::createSceneNodeAnimator
virtual ISceneNodeAnimator * createSceneNodeAnimator(const c8 *typeName, ISceneNode *target)=0
creates a scene node animator based on its type name
irr::scene::ISceneNodeAnimatorFactory::getCreatableSceneNodeAnimatorTypeCount
virtual u32 getCreatableSceneNodeAnimatorTypeCount() const =0
returns amount of scene node animator types this factory is able to create
irr::scene::ISceneNodeAnimatorFactory::createSceneNodeAnimator
virtual ISceneNodeAnimator * createSceneNodeAnimator(ESCENE_NODE_ANIMATOR_TYPE type, ISceneNode *target)=0
creates a scene node animator based on its type id
irr::scene::ISceneNodeAnimatorFactory::getCreateableSceneNodeAnimatorTypeName
virtual const c8 * getCreateableSceneNodeAnimatorTypeName(ESCENE_NODE_ANIMATOR_TYPE type) const =0
returns type name of a createable scene node animator type
irr::scene::ISceneNodeAnimator
Animates a scene node. Can animate position, rotation, material, and so on.
Definition
ISceneNodeAnimator.h:31
irr::scene::ISceneNode
Scene node interface.
Definition
ISceneNode.h:41
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition
CIndexBuffer.h:13
irr::scene::ESCENE_NODE_ANIMATOR_TYPE
ESCENE_NODE_ANIMATOR_TYPE
An enumeration for all types of built-in scene node animators.
Definition
ESceneNodeAnimatorTypes.h:15
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition
Skylicht.h:33
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition
irrTypes.h:58
irr::c8
char c8
8 bit character variable.
Definition
irrTypes.h:31
Generated by
1.17.0