CommonLibVR
hkpRayHitCollector.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  class hkpCdBody;
6 
7  struct hkpShapeRayCastCollectorOutput;
8 
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_hkpRayHitCollector;
13  inline static constexpr auto VTABLE = VTABLE_hkpRayHitCollector;
14 
15  // add
16  virtual void AddRayHit(const hkpCdBody& a_body, const hkpShapeRayCastCollectorOutput& a_hitInfo) = 0; // 00
17 
18  virtual ~hkpRayHitCollector(){}; // 01
19 
20  constexpr void Reset() noexcept { earlyOutHitFraction = 1.0f; }
21 
22  // members
23  float earlyOutHitFraction{ 1.0f }; // 08
24  std::uint32_t pad0C; // 0C
25  private:
26  KEEP_FOR_RE()
27  };
28  static_assert(sizeof(hkpRayHitCollector) == 0x10);
29 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: hkpCdBody.h:8
Definition: hkpRayHitCollector.h:10
virtual ~hkpRayHitCollector()
Definition: hkpRayHitCollector.h:18
static constexpr auto VTABLE
Definition: hkpRayHitCollector.h:13
float earlyOutHitFraction
Definition: hkpRayHitCollector.h:23
static constexpr auto RTTI
Definition: hkpRayHitCollector.h:12
constexpr void Reset() noexcept
Definition: hkpRayHitCollector.h:20
std::uint32_t pad0C
Definition: hkpRayHitCollector.h:24
virtual void AddRayHit(const hkpCdBody &a_body, const hkpShapeRayCastCollectorOutput &a_hitInfo)=0
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_hkpRayHitCollector(static_cast< std::uint64_t >(684908))
constexpr std::array< REL::ID, 1 > VTABLE_hkpRayHitCollector
Definition: Offsets_VTABLE.h:14326
Definition: hkpShapeRayCastCollectorOutput.h:9