ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Bone mesh resources reference a mesh usable by actor resources. More...

#include <bonesmesh.h>

Inheritance diagram for Stark::Resources::BonesMesh:
Collaboration diagram for Stark::Resources::BonesMesh:

List of all members.

Public Member Functions

 BonesMesh (Object *parent, byte subType, uint16 index, const Common::String &name)
virtual ~BonesMesh ()
void readData (Formats::XRCReadStream *stream) override
 Deserialize the resource static data and initial state.
void onPostRead () override
 Called when the node's initialization is complete.
ModelgetModel ()
 Obtain the mesh object.
AnimHandlergetAnimHandler ()
 Obtain the mesh animation handler.

Static Public Attributes

static const Type::ResourceType TYPE = Type::kBonesMesh

Protected Member Functions

void printData () override

Protected Attributes

Common::String _filename
Common::String _archiveName
AnimHandler_animHandler
Model_model

Detailed Description

Bone mesh resources reference a mesh usable by actor resources.

Definition at line 44 of file bonesmesh.h.


Constructor & Destructor Documentation

Stark::Resources::BonesMesh::BonesMesh ( Object parent,
byte  subType,
uint16  index,
const Common::String name 
)

Definition at line 39 of file bonesmesh.cpp.

Stark::Resources::BonesMesh::~BonesMesh (  )  [virtual]

Definition at line 34 of file bonesmesh.cpp.


Member Function Documentation

AnimHandler * Stark::Resources::BonesMesh::getAnimHandler (  ) 

Obtain the mesh animation handler.

Definition at line 67 of file bonesmesh.cpp.

Model * Stark::Resources::BonesMesh::getModel (  ) 

Obtain the mesh object.

Definition at line 63 of file bonesmesh.cpp.

void Stark::Resources::BonesMesh::onPostRead (  )  [override, virtual]

Called when the node's initialization is complete.

Allows to load additional data from file.

Reimplemented from Stark::Resources::Object.

Definition at line 51 of file bonesmesh.cpp.

void Stark::Resources::BonesMesh::printData (  )  [override, protected, virtual]

Reimplemented from Stark::Resources::Object.

Definition at line 71 of file bonesmesh.cpp.

void Stark::Resources::BonesMesh::readData ( Formats::XRCReadStream stream  )  [override, virtual]

Deserialize the resource static data and initial state.

Reimplemented from Stark::Resources::Object.

Definition at line 46 of file bonesmesh.cpp.


Member Data Documentation

Definition at line 67 of file bonesmesh.h.

Definition at line 64 of file bonesmesh.h.

Definition at line 68 of file bonesmesh.h.

const Type::ResourceType Stark::Resources::BonesMesh::TYPE = Type::kBonesMesh [static]

Definition at line 46 of file bonesmesh.h.


The documentation for this class was generated from the following files:


Generated on Sat Jan 19 2019 05:07:51 for ResidualVM by doxygen 1.7.1
curved edge   curved edge