blob: 172e9729d04e2a79d574b9a59f04e28c6a16cc5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// A list of DmeBoneWeight elements, replacing QC's $WeightList
//
//===========================================================================//
#ifndef DMEBONEMASK_H
#define DMEBONEMASK_H
#ifdef _WIN32
#pragma once
#endif
#include "datamodel/dmattributevar.h"
#include "mdlobjects/dmemdllist.h"
//-----------------------------------------------------------------------------
// Forward Declarations
//-----------------------------------------------------------------------------
class CDmeBoneWeight;
//-----------------------------------------------------------------------------
// A class representing a list of bone weights
//-----------------------------------------------------------------------------
class CDmeBoneMask : public CDmeMdlList
{
DEFINE_ELEMENT( CDmeBoneMask, CDmeMdlList );
public:
virtual CDmAttribute *GetListAttr() { return m_BoneWeights.GetAttribute(); }
private:
CDmaElementArray< CDmeBoneWeight > m_BoneWeights;
CDmaVar< bool > m_bDefault;
};
#endif // DMEBONEMASK_H
|