17 #ifndef IGNITION_RENDERING_OGRE2_OGRE2MESH_HH_ 18 #define IGNITION_RENDERING_OGRE2_OGRE2MESH_HH_ 23 #include <unordered_map> 40 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
43 class Ogre2MeshPrivate;
56 public:
virtual void Destroy()
override;
59 public:
virtual bool HasSkeleton()
const override;
63 SkeletonLocalTransforms()
const override;
66 public:
virtual void SetSkeletonLocalTransforms(
71 SkeletonWeights()
const override;
74 public:
virtual void SetSkeletonWeights(
78 public:
virtual void SetSkeletonAnimationEnabled(
const std::string &_name,
79 bool _enabled,
bool _loop =
true,
float _weight = 1.0)
override;
82 public:
virtual bool SkeletonAnimationEnabled(
const std::string &_name)
86 public:
virtual void UpdateSkeletonAnimation(
87 std::chrono::steady_clock::duration _time)
override;
90 public:
virtual Ogre::MovableObject *
OgreObject()
const override;
99 protected: Ogre::Item *ogreItem =
nullptr;
122 public:
virtual Ogre::SubItem *Ogre2SubItem()
const;
126 protected:
virtual void SetMaterialImpl(
MaterialPtr _material);
129 protected:
virtual void Init();
132 protected: Ogre::SubItem *ogreSubItem =
nullptr;
Definition: BaseMesh.hh:118
Ogre2.x implementation of the mesh class.
Definition: Ogre2Mesh.hh:46
Ogre2.x implementation of the scene class.
Definition: Ogre2Scene.hh:56
Ogre2.x implementation of the submesh class.
Definition: Ogre2Mesh.hh:112
Ogre2SubMeshStorePtr subMeshes
Store containing all the submeshes.
Definition: Ogre2Mesh.hh:96
Ogre2.x implementation of the mesh factory class.
Definition: Ogre2MeshFactory.hh:46
Definition: OgreObject.hh:32
Definition: BaseMesh.hh:36
Definition: OgreCamera.hh:27
Ogre2.x implementation of a submesh store factory class.
Definition: Ogre2MeshFactory.hh:102