Go to the documentation of this file.
17 #ifndef GZ_RENDERING_OGRE2_OGRE2MESH_HH_
18 #define GZ_RENDERING_OGRE2_OGRE2MESH_HH_
23 #include <unordered_map>
40 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
43 class Ogre2MeshPrivate;
44 class Ogre2SubMeshPrivate;
57 public:
virtual void Destroy()
override;
60 public:
virtual bool HasSkeleton()
const override;
64 SkeletonLocalTransforms()
const override;
67 public:
virtual void SetSkeletonLocalTransforms(
72 SkeletonWeights()
const override;
75 public:
virtual void SetSkeletonWeights(
79 public:
virtual void SetSkeletonAnimationEnabled(
const std::string &_name,
80 bool _enabled,
bool _loop =
true,
float _weight = 1.0)
override;
83 public:
virtual bool SkeletonAnimationEnabled(
const std::string &_name)
87 public:
virtual void UpdateSkeletonAnimation(
88 std::chrono::steady_clock::duration _time)
override;
91 public:
virtual Ogre::MovableObject *
OgreObject()
const override;
100 protected: Ogre::Item *ogreItem =
nullptr;
123 public:
virtual void Destroy()
override;
127 public:
void SetMeshName(
const std::string &_name);
130 public:
virtual Ogre::SubItem *Ogre2SubItem()
const;
134 protected:
virtual void SetMaterialImpl(
MaterialPtr _material)
override;
137 protected:
virtual void Init()
override;
140 protected: Ogre::SubItem *ogreSubItem =
nullptr;
Definition: gz/rendering/ogre/OgreCamera.hh:27
Ogre2.x implementation of the submesh class.
Definition: gz/rendering/ogre2/Ogre2Mesh.hh:113
Definition: gz/rendering/base/BaseMesh.hh:130
Ogre2SubMeshStorePtr subMeshes
Store containing all the submeshes.
Definition: gz/rendering/ogre2/Ogre2Mesh.hh:97
Ogre2.x implementation of a submesh store factory class.
Definition: gz/rendering/ogre2/Ogre2MeshFactory.hh:105
Ogre2.x implementation of the scene class.
Definition: gz/rendering/ogre2/Ogre2Scene.hh:57
Ogre2.x implementation of the mesh factory class.
Definition: gz/rendering/ogre2/Ogre2MeshFactory.hh:46
Definition: gz/rendering/ogre/OgreObject.hh:32
Definition: gz/rendering/base/BaseMesh.hh:36
Ogre2.x implementation of the mesh class.
Definition: gz/rendering/ogre2/Ogre2Mesh.hh:47