Saga3D API Documentation
1.0-RC4
ISkinnedMesh.h
Go to the documentation of this file.
1
#ifndef __I_SKINNED_MESH_H_INCLUDED__
2
#define __I_SKINNED_MESH_H_INCLUDED__
3
4
#include "
IAnimatedMesh.h
"
5
6
namespace
saga
7
{
8
namespace
scene
9
{
10
12
class
ISkinnedMesh
:
public
IAnimatedMesh
13
{
14
public
:
15
17
18
virtual
std::uint32_t
getBoneCount
()
const
= 0;
19
21
22
virtual
glm::mat4
getBoneTransform
(
const
std::uint32_t boneID)
const
= 0;
23
25
28
// virtual const std::string& getJointName(std::uint32_t index) const = 0;
29
31
33
// virtual std::int32_t getBoneID(const std::string& name) const = 0;
34
36
41
// virtual bool useAnimationFrom(const ISkinnedMesh* mesh) = 0;
42
43
};
44
45
}
// namespace scene
46
}
// namespace saga
47
48
#endif // __I_SKINNED_MESH_H_INCLUDED__
saga::scene::ISkinnedMesh
Interface for using some special functions of Skinned meshes.
Definition:
ISkinnedMesh.h:12
IAnimatedMesh.h
saga::scene::ISkinnedMesh::getBoneCount
virtual std::uint32_t getBoneCount() const =0
Gets joint count.
saga::scene::ISkinnedMesh::getBoneTransform
virtual glm::mat4 getBoneTransform(const std::uint32_t boneID) const =0
Gets transformation matrix of bone.
saga::scene::IAnimatedMesh
Interface for an animated mesh.
Definition:
IAnimatedMesh.h:16
saga
Definition:
aabbox3d.h:11
library
include
ISkinnedMesh.h
Generated by
1.8.17