A model loaded from file prepared with GL textures and buffers.
More...
#include <RenderableMesh.hpp>
|
|
using | index_hash_t = std::unordered_map<std::string, unsigned> |
| |
|
|
void | load (const std::string &file, bool just_animations=false) |
| |
|
void | load (const std::string &file, unsigned xiflags, unsigned aiflags=0) |
| |
| void | removeTranslationKeys (const std::string &node_name) |
| |
| void | removeTranslationKeys (int node_index) |
| |
| void | animate (int anim_index, float time, AnmationTimeFormat animTimeFormat=AnmationTimeFormat::RealTime) |
| |
| unsigned | getNbrAnimations () const |
| |
| std::string | getAnimationName (unsigned i) const |
| |
|
|
VectorTree< SkeletonNode > | m_nodetree |
| |
|
std::vector< Bone > | m_bones |
| |
|
std::vector< glm::mat4 > | boneMatrices |
| |
|
std::vector< AnimationClip > | m_animations |
| |
|
std::vector< Submesh > | m_meshes |
| |
|
std::vector< PhongMaterial > | m_materials |
| |
|
std::vector< Texture2D > | m_textures |
| |
|
std::vector< AABB > | m_bone_aabbs_bind |
| |
|
std::vector< AABB > | m_bone_aabbs_pose |
| |
|
std::vector< AABB > | m_mesh_aabbs_bind |
| |
|
std::vector< AABB > | m_mesh_aabbs_pose |
| |
|
AABB | m_model_aabb |
| |
|
unsigned | m_embedded_textures_ofs = 0 |
| |
|
index_hash_t | m_texturehash |
| |
|
index_hash_t | m_bonehash |
| |
|
index_hash_t | m_nodehash |
| |
|
logstreamer_t | log |
| |
|
AABB | mSceneAABB |
| |
A model loaded from file prepared with GL textures and buffers.
◆ animate()
| void eeng::RenderableMesh::animate |
( |
int | anim_index, |
|
|
float | time, |
|
|
AnmationTimeFormat | animTimeFormat = AnmationTimeFormat::RealTime ) |
- Parameters
-
| anim_index | |
| time | |
| animTimeFormat |
|
◆ getAnimationName()
| std::string eeng::RenderableMesh::getAnimationName |
( |
unsigned | i | ) |
const |
◆ getNbrAnimations()
| unsigned eeng::RenderableMesh::getNbrAnimations |
( |
| ) |
const |
◆ removeTranslationKeys() [1/2]
| void eeng::RenderableMesh::removeTranslationKeys |
( |
const std::string & | node_name | ) |
|
◆ removeTranslationKeys() [2/2]
| void eeng::RenderableMesh::removeTranslationKeys |
( |
int | node_index | ) |
|
The documentation for this class was generated from the following files: