CommonLibVR
hkpMaterial.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/H/hkBaseTypes.h"
4 
5 namespace RE
6 {
7  class hkpMaterial
8  {
9  public:
10  enum class ResponseType
11  {
12  kInvalid,
14  kReporting,
15  kNone,
16 
17  kTotal
18  };
19 
20  [[nodiscard]] ResponseType GetResponseType() const;
22 
23  // members
25  std::uint8_t pad01; // 01
27  float friction; // 04
28  float restitution; // 08
29  private:
30  KEEP_FOR_RE()
31  };
32  static_assert(sizeof(hkpMaterial) == 0xC);
33 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: hkBaseTypes.h:16
Definition: hkpMaterial.h:8
ResponseType
Definition: hkpMaterial.h:11
ResponseType GetResponseType() const
void SetResponseType(ResponseType a_type)
hkHalf rollingFrictionMultiplier
Definition: hkpMaterial.h:26
std::uint8_t pad01
Definition: hkpMaterial.h:25
stl::enumeration< ResponseType, std::uint8_t > responseType
Definition: hkpMaterial.h:24
float restitution
Definition: hkpMaterial.h:28
float friction
Definition: hkpMaterial.h:27
Definition: AbsorbEffect.h:6