31#include "hpl1/engine/graphics/GraphicsTypes.h"
32#include "hpl1/engine/math/MathTypes.h"
33#include "hpl1/engine/math/MeshTypes.h"
34#include "hpl1/engine/system/SystemTypes.h"
43class cMaterialManager;
60 tString GetName() {
return msName; }
63 void ResizeVertexBonePairs(
int alSize);
64 int GetVertexBonePairNum();
68 void ClearVertexBonePairs();
70 void CompileBonePairs();
72 const cTriEdge &GetEdge(
int alIndex)
const {
return mvEdges[alIndex]; }
73 int GetEdgeNum() {
return (
int)mvEdges.
size(); }
79 void SetDoubleSided(
bool abX) { mbDoubleSided = abX; }
80 bool GetDoubleSided() {
return mbDoubleSided; }
82 const tString &GetGroup() {
return msGroup; }
83 void SetGroup(
const tString &asGroup) { msGroup = asGroup; }
85 const tString &GetNodeName() {
return msNodeName; }
86 void SetNodeName(
const tString &asNodeName) { msNodeName = asNodeName; }
88 void SetModelScale(
const cVector3f &avScale) { mvModelScale = avScale; }
89 cVector3f GetModelScale() {
return mvModelScale; }
91 const cMatrixf &GetLocalTransform() {
return m_mtxLocalTransform; }
92 void SetLocalTransform(
const cMatrixf &a_mtxTrans) { m_mtxLocalTransform = a_mtxTrans; }
94 bool GetIsOneSided() {
return mbIsOneSided; }
95 const cVector3f &GetOneSidedNormal() {
return mvOneSidedNormal; }
100 void CheckOneSided();
112 float *mpVertexWeights;
113 unsigned char *mpVertexBones;
size_type size() const
Definition: array.h:316
Definition: MaterialManager.h:41
Definition: SubMeshEntity.h:95
Definition: MeshTypes.h:54
Definition: GraphicsTypes.h:107
Definition: Material.h:203
Definition: VertexBuffer.h:90