CommonLibVR
hkpClosestRayHitCollector.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace RE
7 {
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_hkpClosestRayHitCollector;
12  inline static constexpr auto VTABLE = VTABLE_hkpClosestRayHitCollector;
13 
14  // override (hkpRayHitCollector)
15  void AddRayHit(const hkpCdBody& a_body, const hkpShapeRayCastCollectorOutput& a_hitInfo) override; // 01
16 
17  ~hkpClosestRayHitCollector() override; // 00
18 
19  constexpr bool HasHit() noexcept { return rayHit.HasHit(); }
20 
21  constexpr void Reset() noexcept
22  {
24  rayHit.Reset();
25  }
26 
27  // members
29  private:
30  KEEP_FOR_RE()
31  };
32  static_assert(sizeof(hkpClosestRayHitCollector) == 0x70);
33 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: hkpCdBody.h:8
Definition: hkpClosestRayHitCollector.h:9
hkpWorldRayCastOutput rayHit
Definition: hkpClosestRayHitCollector.h:28
void AddRayHit(const hkpCdBody &a_body, const hkpShapeRayCastCollectorOutput &a_hitInfo) override
static constexpr auto VTABLE
Definition: hkpClosestRayHitCollector.h:12
constexpr void Reset() noexcept
Definition: hkpClosestRayHitCollector.h:21
constexpr bool HasHit() noexcept
Definition: hkpClosestRayHitCollector.h:19
static constexpr auto RTTI
Definition: hkpClosestRayHitCollector.h:11
Definition: hkpRayHitCollector.h:10
constexpr void Reset() noexcept
Definition: hkpRayHitCollector.h:20
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_hkpClosestRayHitCollector(static_cast< std::uint64_t >(685511))
constexpr std::array< REL::ID, 1 > VTABLE_hkpClosestRayHitCollector
Definition: Offsets_VTABLE.h:14181
Definition: hkpShapeRayCastCollectorOutput.h:9
Definition: hkpWorldRayCastOutput.h:10
constexpr void Reset() noexcept
Definition: hkpWorldRayCastOutput.h:14
constexpr bool HasHit() const noexcept
Definition: hkpWorldRayCastOutput.h:12