diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/mdlobjects/dmelod.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'public/mdlobjects/dmelod.h')
| -rw-r--r-- | public/mdlobjects/dmelod.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/public/mdlobjects/dmelod.h b/public/mdlobjects/dmelod.h new file mode 100644 index 0000000..67db706 --- /dev/null +++ b/public/mdlobjects/dmelod.h @@ -0,0 +1,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 |