Counter Strike : Global Offensive Source Code
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

  1. //====== Copyright � 1996-2004, Valve Corporation, All rights reserved. =====//
  2. //
  3. // Dme version of a lod
  4. //
  5. //===========================================================================//
  6. #ifndef DMELOD_H
  7. #define DMELOD_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "datamodel/dmelement.h"
  12. #include "datamodel/dmattributevar.h"
  13. //-----------------------------------------------------------------------------
  14. // Forward Declarations
  15. //-----------------------------------------------------------------------------
  16. class CDmeModel;
  17. class CDmeDag;
  18. class CDmeCombinationOperator;
  19. //-----------------------------------------------------------------------------
  20. // A class representing an attachment point
  21. //-----------------------------------------------------------------------------
  22. class CDmeLOD : public CDmElement
  23. {
  24. DEFINE_ELEMENT( CDmeLOD, CDmElement );
  25. public:
  26. // NOTE: It may be possible to eliminate the skeleton here
  27. // and assume the LOD always uses the root skeleton.
  28. CDmaString m_Path;
  29. CDmaElement< CDmeModel > m_Model;
  30. CDmaElement< CDmeDag > m_Skeleton;
  31. CDmaElement< CDmeCombinationOperator > m_CombinationOperator;
  32. CDmaVar< float > m_flSwitchMetric;
  33. CDmaVar< bool > m_bNoFlex;
  34. CDmaVar< bool > m_bIsShadowLOD;
  35. };
  36. #endif // DMELOD_H