1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Tom Lint 3a960b5829 Updated comments
Added some new Type infos
Removed excess whitespace
Added some new files
Implemented missing methods
2013-08-13 20:04:25 +02:00

65 lines
1.4 KiB
C++

/*****************************************************************************
* ModelBone.h *
* *
* XFX::Graphics::ModelBone class definition file *
* Copyright (c) XFX Team. All Rights Reserved *
*****************************************************************************/
#ifndef _XFX_GRAPHICS_MODELBONE_
#define _XFX_GRAPHICS_MODELBONE_
#include <System/Collections/Generic/List.h>
#include <Matrix.h>
#include <System/String.h>
using namespace System;
using namespace System::Collections::Generic;
namespace XFX
{
namespace Content
{
class ModelReader;
}
namespace Graphics
{
class ModelBoneCollection;
/**
* Represents bone data for a model.
*/
class ModelBone
{
private:
friend class XFX::Content::ModelReader;
List<ModelBone> children;
String name;
public:
/**
* Gets a collection of bones that are children of this bone.
*/
ModelBoneCollection getChildren() const;
/**
* Gets the index of this bone in the Bones collection.
*/
int getIndex() const;
/**
* Gets the name of this bone.
*/
const String getName() const;
/**
* Gets the paremt of this bone.
*/
ModelBone* getParent() const;
/**
* Gets or sets the matrix used to transform this bone relative to its parent bone.
*/
Matrix Transform;
};
}
}
#endif //_XFX_GRAPHICS_MODELBONE_