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.

45 lines
1.4 KiB

  1. //====== Copyright � 1996-2009, Valve Corporation, All rights reserved. =======
  2. //
  3. // DmeEyeball
  4. //
  5. //=============================================================================
  6. #ifndef DMEEYEBALL_H
  7. #define DMEEYEBALL_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. // Valve includes
  12. #include "datamodel/dmelement.h"
  13. #include "datamodel/dmattributevar.h"
  14. //-----------------------------------------------------------------------------
  15. // Forward declarations
  16. //-----------------------------------------------------------------------------
  17. class CDmeDag;
  18. class CDmeMaterial;
  19. //-----------------------------------------------------------------------------
  20. // DmeEyeball
  21. //-----------------------------------------------------------------------------
  22. class CDmeEyeball : public CDmElement
  23. {
  24. DEFINE_ELEMENT( CDmeEyeball, CDmElement );
  25. public:
  26. CDmaVar< float > m_flRadius; // Radius of the ball of the eye
  27. CDmaVar< float > m_flYawAngle; // Yaw offset from "forward" for iris. Humans are typically 2-4 degrees walleyed.
  28. CDmaVar< float > m_flIrisScale; // Scale of the iris texture
  29. CDmaString m_sMaterialName; // The name of the material assigned to the faces belonging to the eye
  30. CDmaString m_sParentBoneName; // The name of the parent bone for the eyes
  31. CDmaVar< Vector > m_vPosition; // The name of the attachment at the position of this eye
  32. };
  33. #endif // DMEEYEBALL_H