32#ifndef __SO3ENTITY_H__
33#define __SO3ENTITY_H__
55 std::string mGroupName;
56 typedef std::unordered_map<std::string, Ogre::ushort> PoseHandleList;
57 PoseHandleList poseHandleList;
58 bool mReleaseResource;
59 std::string mResourceName;
68 SEntity(
SScene* parent,
const std::string& groupName,
const std::string& entityName,
const std::string& meshName,
bool loadInBackground =
false);
73 SEntity(
SScene* parent,
const std::string& entityName,
const std::string& groupName, Ogre::MeshPtr meshPointer);
88 SEntity(
SScene* parent,
const std::string& groupName,
const std::string& entityName,
const float& radius,
const int& rings,
const int& segments);
93 SEntity(
SScene* parent,
const std::string& groupName,
const std::string& entityName,
const float& radius,
const float& height,
const int& segments);
98 SEntity(
SScene* parent,
const std::string& groupName,
const std::string& entityName,
const float& base,
const float& bottom,
const float& dist);
239 void CommonConstructorsSequence();
240 void BuildMissingComponents();
unsigned int GetVerticesCount()
SSkeleton * GetSkeleton()
void _SetSkeleton(SSkeleton *newSkeleton)
unsigned int GetPolygonCount()
virtual void SetCastShadows(const bool &castShadows)
virtual void SetRenderingDistance(const float &distance)
bool SetMaterial(SMaterial *mat, int subindex)
void SetVisibilityFlags(const Ogre::uint32 &flags)
void GenerateLOD(int nbLevels)
std::string GetGroupName()
virtual Ogre::Vector3 GetWorldBoundingBoxCenter(const bool &childs=false)
void SetFreeResource(bool state)
void SetRenderQueue(const Ogre::RenderQueueGroupID &groupId)
virtual Ogre::Vector3 GetBoundingBoxCenter(const bool &childs=false)
void SetMinPixelSize(const float &minsize)
virtual Ogre::Vector3 GetBoundingBoxSize(const bool &childs=false)
virtual bool GetCastShadows()
virtual Ogre::Vector3 GetWorldBoundingBoxSize(const bool &childs=false)
Ogre::uint32 GetVisibilityFlags()
Ogre::Entity * getOgreEntityPointer()
virtual float GetRenderingDistance()
void SetVisibilityFlagIndexEnable(const Ogre::uint32 &flagIndex, bool enable)
bool GetVisibilityFlagIndexEnable(const Ogre::uint32 &flagIndex)
virtual void loadingComplete(Ogre::Resource *res)
unsigned int GetNumSubEntities()
STBI_EXTERN unsigned long flags