V-Gears 0
Free Final Fantasy VII engine.
VGears::HRCMeshLoader Class Reference

A loader for skeleton meshes. More...

#include <VGearsHRCMeshLoader.h>

Inheritance diagram for VGears::HRCMeshLoader:
Collaboration diagram for VGears::HRCMeshLoader:

Public Member Functions

 HRCMeshLoader (HRCFile &hrc_file)
 Constructor. More...
 
virtual ~HRCMeshLoader ()
 Destructor. More...
 
virtual void loadResource (Ogre::Resource *resource)
 Loads a resource. More...
 

Protected Member Functions

virtual void LoadBone (Ogre::Mesh *mesh, const HRCFile::Bone &bone, const String &path)
 Loads a bone. More...
 

Private Attributes

HRCFilehrc_file_
 The HRC file. More...
 

Detailed Description

A loader for skeleton meshes.

Constructor & Destructor Documentation

◆ HRCMeshLoader()

VGears::HRCMeshLoader::HRCMeshLoader ( HRCFile hrc_file)
explicit

Constructor.

Parameters
[in]hrc_fileThe HRC file to load from.

◆ ~HRCMeshLoader()

VGears::HRCMeshLoader::~HRCMeshLoader ( )
virtual

Destructor.

Member Function Documentation

◆ LoadBone()

void VGears::HRCMeshLoader::LoadBone ( Ogre::Mesh *  mesh,
const HRCFile::Bone bone,
const String path 
)
protectedvirtual

Loads a bone.

Parameters
[in,out]meshThe mesh to add the bone to.
[in]boneThe bone to add.
[in]pathPath to the file with the bone info.

◆ loadResource()

void VGears::HRCMeshLoader::loadResource ( Ogre::Resource *  resource)
virtual

Loads a resource.

Parameters
[in]resourceThe resource to load.

Member Data Documentation

◆ hrc_file_

HRCFile& VGears::HRCMeshLoader::hrc_file_
private

The HRC file.


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