#include <SO3Entity.h>
Public Types | |
| enum | EntityPrefabType { SO3_PREFAB_PLANE, SO3_PREFAB_CUBE, SO3_PREFAB_SPHERE } |
Public Member Functions | |
| SEntity (SScene *parent, std::string groupName, std::string entityName, std::string meshName) | |
| SEntity (SScene *parent, std::string entityName, EntityPrefabType prefabType) | |
| SEntity (SScene *parent, std::string groupName, std::string entityName, SPointFloat sizev, SPointInt seg, SPointFloat uv) | |
| SEntity () | |
| ~SEntity () | |
| Ogre::Entity * | getOgreEntityPointer () |
| SSkeleton * | GetSkeleton () |
| std::string | GetGroupName () |
| 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 (bool childs=false) |
| virtual Ogre::Vector3 | GetBoundingBoxCenter (bool childs=false) |
| unsigned int | GetPolygonCount () |
| void | SetRenderQueue (Ogre::RenderQueueGroupID groupId) |
| unsigned int | GetNumSubEntities () |
| void | SetVisibilityFlags (Ogre::uint32 flags) |
| Ogre::uint32 | GetVisibilityFlags () |
| void | _SetSkeleton (SSkeleton *newSkeleton) |
| void | Reload () |
Protected Attributes | |
| Ogre::Entity * | O3Entity |
| SSkeleton * | entitySKL |
Definition at line 45 of file SO3Entity.h.
Definition at line 48 of file SO3Entity.h.
| SO3::SEntity::SEntity | ( | SScene * | parent, | |
| std::string | groupName, | |||
| std::string | entityName, | |||
| std::string | meshName | |||
| ) |
constructor for mesh files
Definition at line 45 of file SO3Entity.cpp.
| SO3::SEntity::SEntity | ( | SScene * | parent, | |
| std::string | entityName, | |||
| EntityPrefabType | prefabType | |||
| ) |
constructor for prefab
Definition at line 114 of file SO3Entity.cpp.
| SO3::SEntity::SEntity | ( | SScene * | parent, | |
| std::string | groupName, | |||
| std::string | entityName, | |||
| SPointFloat | sizev, | |||
| SPointInt | seg, | |||
| SPointFloat | uv | |||
| ) |
constructor for plane entity
Definition at line 140 of file SO3Entity.cpp.
| SO3::SEntity::SEntity | ( | ) |
Forbiden constructor
Definition at line 153 of file SO3Entity.cpp.
| SO3::SEntity::~SEntity | ( | ) |
Definition at line 213 of file SO3Entity.cpp.
| void SO3::SEntity::_SetSkeleton | ( | SSkeleton * | newSkeleton | ) |
Hack to set the skeleton pointer after the SEntity was created, SSkeleton internal use only
Definition at line 336 of file SO3Entity.cpp.
| Ogre::Vector3 SO3::SEntity::GetBoundingBoxCenter | ( | bool | childs = false |
) | [virtual] |
Reimplemented from SO3::SNode.
Definition at line 301 of file SO3Entity.cpp.
| Ogre::Vector3 SO3::SEntity::GetBoundingBoxSize | ( | bool | childs = false |
) | [virtual] |
Reimplemented from SO3::SNode.
Definition at line 292 of file SO3Entity.cpp.
| bool SO3::SEntity::GetCastShadows | ( | ) | [virtual] |
Reimplemented from SO3::SNode.
Definition at line 277 of file SO3Entity.cpp.
| std::string SO3::SEntity::GetGroupName | ( | ) |
Definition at line 247 of file SO3Entity.cpp.
| unsigned int SO3::SEntity::GetNumSubEntities | ( | ) |
Definition at line 317 of file SO3Entity.cpp.
| Ogre::Entity * SO3::SEntity::getOgreEntityPointer | ( | ) |
Definition at line 237 of file SO3Entity.cpp.
| unsigned int SO3::SEntity::GetPolygonCount | ( | ) |
Definition at line 307 of file SO3Entity.cpp.
| float SO3::SEntity::GetRenderingDistance | ( | ) | [virtual] |
Reimplemented from SO3::SNode.
Definition at line 287 of file SO3Entity.cpp.
| SSkeleton * SO3::SEntity::GetSkeleton | ( | ) |
Definition at line 242 of file SO3Entity.cpp.
| void SO3::SEntity::getSubMeshVertices | ( | std::vector< Ogre::Vector3 > * | vertices, | |
| unsigned int | index, | |||
| Ogre::MeshPtr | curMesh | |||
| ) |
Definition at line 252 of file SO3Entity.cpp.
| Ogre::uint32 SO3::SEntity::GetVisibilityFlags | ( | ) |
Definition at line 331 of file SO3Entity.cpp.
| void SO3::SEntity::Reload | ( | ) |
Reload entity
Definition at line 343 of file SO3Entity.cpp.
| void SO3::SEntity::SetCastShadows | ( | bool | castShadows | ) | [virtual] |
Reimplemented from SO3::SNode.
Definition at line 272 of file SO3Entity.cpp.
| void SO3::SEntity::SetRenderingDistance | ( | float | distance | ) | [virtual] |
Reimplemented from SO3::SNode.
Definition at line 282 of file SO3Entity.cpp.
| void SO3::SEntity::SetRenderQueue | ( | Ogre::RenderQueueGroupID | groupId | ) |
Definition at line 312 of file SO3Entity.cpp.
| void SO3::SEntity::SetVisibilityFlags | ( | Ogre::uint32 | flags | ) |
Definition at line 324 of file SO3Entity.cpp.
SSkeleton* SO3::SEntity::entitySKL [protected] |
Definition at line 56 of file SO3Entity.h.
Ogre::Entity* SO3::SEntity::O3Entity [protected] |
Definition at line 55 of file SO3Entity.h.
1.6.3