#include <ThingEntity.hpp>
Inheritance diagram for se_ogre::ThingEntity:

Public Member Functions | |
| ThingEntity (se_core::PosComponent &thing, const ThingMOInfo &info, const ThingMOFactory &factory) | |
| ~ThingEntity () | |
| void | animate (long when, float stepDelta, float timeSinceLastFrame) |
| Update animations and material. | |
| short | anim (int channel) |
| bool | hasAnimation () const |
| void | setVisible (bool state) |
| bool | isVisible () |
| void | move (long when, float stepDelta, float timeSinceLastFrame) |
| void | resetPos () |
| bool | hasThing (se_core::Composite &thing) |
| void | setParentNode (Ogre::SceneNode *sn) |
| const char * | name () const |
Protected Types | |
| enum | { MAX_ANIMS = se_core::Pos::MAX_ANIMS } |
Protected Member Functions | |
| void | setAnimation (int channel, const se_core::Anim &anim) |
| Set the active animation. | |
| void | setMaterial (const char *mat) |
| Set the active material. | |
Protected Attributes | |
| Ogre::Entity * | entity_ |
| Ogre::AnimationState * | state_ [MAX_ANIMS] |
| float | speed_ [MAX_ANIMS] |
| short | prevAnim_ [MAX_ANIMS] |
| se_core::PosComponent & | thing_ |
| const ThingMOFactory & | factory_ |
| const ThingMOInfo & | info_ |
| bool | hasAnimation_ |
| Ogre::SceneNode * | parentNode_ |
| Ogre::SceneNode * | node_ |
| bool | isVisible_ |
| Ogre::Real | currentScale_ |
| se_core::ViewPoint | last_ |
Friends | |
| class | ThingMOFactory |
| class | ThingMOManager |
Definition at line 36 of file ThingEntity.hpp.
|
|
Definition at line 65 of file ThingEntity.hpp. |
|
||||||||||||||||
|
Definition at line 44 of file ThingEntity.cpp. References se_ogre::ThingMOInfo::isShadowCaster_. |
|
|
Definition at line 89 of file ThingEntity.cpp. |
|
|
|
|
||||||||||||||||
|
Update animations and material.
Implements se_ogre::ThingMO. Definition at line 137 of file ThingEntity.cpp. References se_core::Anim::movementMode(), se_core::Anim::pos(), se_core::Anim::setWeight(), and se_core::Anim::weight(). |
|
|
Definition at line 35 of file ThingMO.hpp. Referenced by se_ogre::ThingMultiMO::animateChildren(). |
|
|
Definition at line 41 of file ThingMO.hpp. References se_core::Composite::id(). |
|
|
Definition at line 37 of file ThingMO.hpp. |
|
||||||||||||||||
|
Definition at line 62 of file ThingMO.cpp. References coor_double_t, and se_core::Point3::distanceSquared(). Referenced by se_ogre::O3dThingComponent::move(), and se_ogre::ThingMultiMO::moveChildren(). |
|
|
Definition at line 43 of file ThingMO.hpp. References se_core::Composite::name(). |
|
|
Definition at line 129 of file ThingMO.cpp. Referenced by se_ogre::O3dThingComponent::move(), and se_ogre::ThingMultiMO::moveChildren(). |
|
||||||||||||
|
Set the active animation.
Definition at line 97 of file ThingEntity.cpp. References AssertFatal, se_ogre::O3dAnimation::doLoop_, se_core::String::get(), se_core::String::isEmpty(), se_core::Anim::movementMode(), se_ogre::O3dAnimation::name_, and se_ogre::O3dAnimation::speed_. |
|
|
Set the active material.
Definition at line 131 of file ThingEntity.cpp. |
|
|
Definition at line 112 of file ThingMO.cpp. Referenced by se_ogre::ThingMultiMO::add(), and se_ogre::O3dThingComponent::add(). |
|
|
Definition at line 100 of file ThingMO.cpp. Referenced by se_ogre::ThingMultiMO::add(). |
|
|
Definition at line 46 of file ThingMO.hpp. |
|
|
Definition at line 54 of file ThingMO.hpp. |
|
|
Definition at line 63 of file ThingMO.hpp. |
|
|
Definition at line 63 of file ThingEntity.hpp. |
|
|
Definition at line 55 of file ThingMO.hpp. Referenced by se_ogre::ThingMOManager::release(). |
|
|
Definition at line 57 of file ThingMO.hpp. |
|
|
Definition at line 56 of file ThingMO.hpp. |
|
|
Definition at line 61 of file ThingMO.hpp. |
|
|
Definition at line 65 of file ThingMO.hpp. |
|
|
Definition at line 60 of file ThingMO.hpp. |
|
|
Definition at line 59 of file ThingMO.hpp. |
|
|
Definition at line 68 of file ThingEntity.hpp. |
|
|
Definition at line 67 of file ThingEntity.hpp. |
|
|
Definition at line 66 of file ThingEntity.hpp. |
|
|
Definition at line 52 of file ThingMO.hpp. |
Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:33 2007 by Doxygen version 1.3.9.1.