You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
//====== Copyright © 1996-2004, 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.
|
|
CDmaString m_Path;
|
|
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
|