|
OpenMW
|
Handles loading an npc or creature. More...
#include <actor.hpp>
Public Member Functions | |
| Actor (const std::string &id, CSMWorld::Data &data) | |
| osg::Group * | getBaseNode () |
| Retrieves the base node that meshes are attached to. More... | |
| void | update () |
| (Re)creates the npc or creature renderable More... | |
Private Slots | |
| void | handleActorChanged (const std::string &refId) |
Private Member Functions | |
| void | loadSkeleton (const std::string &model) |
| void | loadBodyParts () |
| void | attachBodyPart (ESM::PartReferenceType, const std::string &mesh) |
| std::string | getBodyPartMesh (const std::string &bodyPartId) |
Private Attributes | |
| std::string | mId |
| CSMWorld::Data & | mData |
| CSMWorld::ActorAdapter::ActorDataPtr | mActorData |
| osg::ref_ptr< osg::Group > | mBaseNode |
| SceneUtil::Skeleton * | mSkeleton |
| SceneUtil::NodeMapVisitor::NodeMap | mNodeMap |
Static Private Attributes | |
| static const std::string | MeshPrefix = "meshes\\" |
Handles loading an npc or creature.
| CSVRender::Actor::Actor | ( | const std::string & | id, |
| CSMWorld::Data & | data | ||
| ) |
Creates an actor.
| id | The referenceable id |
| type | The record type |
| data | The data store |
|
private |
| osg::Group * CSVRender::Actor::getBaseNode | ( | ) |
Retrieves the base node that meshes are attached to.
|
private |
|
privateslot |
|
private |
|
private |
| void CSVRender::Actor::update | ( | ) |
(Re)creates the npc or creature renderable
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
1.8.6