#include <SO3Entity.h>
Public Types | |
| enum | EntityPrefabType { SO3_PREFAB_PLANE, SO3_PREFAB_CUBE, SO3_PREFAB_SPHERE } |
Public Member Functions | |
| SEntity (SScene *parent, std::string entityName) | |
| SEntity (SScene *parent, std::string entityName, std::string meshName) | |
| SEntity (SScene *parent, std::string entityName, EntityPrefabType prefabType) | |
| SEntity () | |
| ~SEntity () | |
| Ogre::Entity * | getOgreEntityPointer () |
| SSkeleton * | GetSkeleton () |
| void | getSubMeshVertices (std::vector< Ogre::Vector3 > *vertices, unsigned int index, Ogre::MeshPtr curMesh) |
| virtual void | SetCastShadows (bool castShadows) |
| virtual bool | GetCastShadows () |
| virtual void | SetRenderingDistance (float distance) |
| virtual float | GetRenderingDistance () |
| virtual Ogre::Vector3 | GetBoundingBoxSize () |
| virtual Ogre::Vector3 | GetBoundingBoxCenter () |
| unsigned int | GetPolygonCount () |
| void | SetRenderQueue (Ogre::RenderQueueGroupID groupId) |
| unsigned int | GetNumSubEntities () |
| void | _SetSkeleton (SSkeleton *newSkeleton) |
Protected Attributes | |
| Ogre::Entity * | O3Entity |
| SSkeleton * | entitySKL |
Definition at line 42 of file SO3Entity.h.
Definition at line 45 of file SO3Entity.h.
| SEntity::SEntity | ( | SScene * | parent, |
| std::string | entityName | ||
| ) |
Definition at line 40 of file SO3Entity.cpp.
| SEntity::SEntity | ( | SScene * | parent, |
| std::string | entityName, | ||
| std::string | meshName | ||
| ) |
Definition at line 46 of file SO3Entity.cpp.
| SEntity::SEntity | ( | SScene * | parent, |
| std::string | entityName, | ||
| EntityPrefabType | prefabType | ||
| ) |
Definition at line 71 of file SO3Entity.cpp.
| SEntity::SEntity | ( | ) |
Forbiden constructor
Definition at line 90 of file SO3Entity.cpp.
| SEntity::~SEntity | ( | ) |
Definition at line 120 of file SO3Entity.cpp.
| void SEntity::_SetSkeleton | ( | SSkeleton * | newSkeleton ) |
Hack to set the skeleton pointer after the SEntity was created, SSkeleton internal use only
Definition at line 204 of file SO3Entity.cpp.
| Ogre::Vector3 SEntity::GetBoundingBoxCenter | ( | ) | [virtual] |
| Ogre::Vector3 SEntity::GetBoundingBoxSize | ( | ) | [virtual] |
| bool SEntity::GetCastShadows | ( | ) | [virtual] |
| unsigned int SEntity::GetNumSubEntities | ( | ) |
Definition at line 199 of file SO3Entity.cpp.
| Ogre::Entity * SEntity::getOgreEntityPointer | ( | ) |
Definition at line 127 of file SO3Entity.cpp.
| unsigned int SEntity::GetPolygonCount | ( | ) |
Definition at line 189 of file SO3Entity.cpp.
| float SEntity::GetRenderingDistance | ( | ) | [virtual] |
| SSkeleton * SEntity::GetSkeleton | ( | ) |
Definition at line 132 of file SO3Entity.cpp.
| void SEntity::getSubMeshVertices | ( | std::vector< Ogre::Vector3 > * | vertices, |
| unsigned int | index, | ||
| Ogre::MeshPtr | curMesh | ||
| ) |
Definition at line 137 of file SO3Entity.cpp.
| void SEntity::SetCastShadows | ( | bool | castShadows ) | [virtual] |
| void SEntity::SetRenderingDistance | ( | float | distance ) | [virtual] |
| void SEntity::SetRenderQueue | ( | Ogre::RenderQueueGroupID | groupId ) |
Definition at line 194 of file SO3Entity.cpp.
SSkeleton* SEntity::entitySKL [protected] |
Definition at line 53 of file SO3Entity.h.
Ogre::Entity* SEntity::O3Entity [protected] |
Definition at line 52 of file SO3Entity.h.
1.7.2