blob: 67db706f3a984b5cd0dad231cd6579239b9f0772 (
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
45
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Dme version of a lod
//
//===========================================================================//
#ifndef DMELOD_H
#define DMELOD_H
#ifdef _WIN32
#pragma once
#endif
#include "datamodel/dmelement.h"
#include "datamodel/dmattributevar.h"
//-----------------------------------------------------------------------------
// Forward Declarations
//-----------------------------------------------------------------------------
class CDmeModel;
class CDmeDag;
class CDmeCombinationOperator;
//-----------------------------------------------------------------------------
// A class representing an attachment point
//-----------------------------------------------------------------------------
class CDmeLOD : public CDmElement
{
DEFINE_ELEMENT( CDmeLOD, CDmElement );
public:
// NOTE: It may be possible to eliminate the skeleton here
// and assume the LOD always uses the root skeleton.
CDmaElement< CDmeModel > m_Model;
CDmaElement< CDmeDag > m_Skeleton;
CDmaElement< CDmeCombinationOperator > m_CombinationOperator;
CDmaVar< float > m_flSwitchMetric;
CDmaVar< bool > m_bNoFlex;
CDmaVar< bool > m_bIsShadowLOD;
};
#endif // DMELOD_H
|