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.

Static Public Attributes

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

Protected Member Functions

void printData () override

Protected Attributes

Common::String _filename
Common::String _archiveName
Model_model

Detailed Description

Bone mesh resources reference a mesh usable by actor resources.

Definition at line 43 of file bonesmesh.h.


Constructor & Destructor Documentation

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

Definition at line 38 of file bonesmesh.cpp.

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

Definition at line 34 of file bonesmesh.cpp.


Member Function Documentation

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

Obtain the mesh object.

Definition at line 58 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 49 of file bonesmesh.cpp.

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

Reimplemented from Stark::Resources::Object.

Definition at line 62 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 44 of file bonesmesh.cpp.


Member Data Documentation

Definition at line 60 of file bonesmesh.h.

Definition at line 63 of file bonesmesh.h.

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

Definition at line 45 of file bonesmesh.h.


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


Generated on Sat Sep 14 2019 05:05:01 for ResidualVM by doxygen 1.7.1
curved edge   curved edge