CommonLibSSE NG
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  };
30  static_assert(sizeof(hkpClosestRayHitCollector) == 0x70);
31 }
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::VariantID RTTI_hkpClosestRayHitCollector(685511, 393296, 0x1ee7110)
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpClosestRayHitCollector
Definition: Offsets_VTABLE.h:1001
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