CommonLibVR
hkpWorldRayCastOutput.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
7  class hkpCollidable;
8 
10  {
11  public:
12  [[nodiscard]] constexpr bool HasHit() const noexcept { return rootCollidable != nullptr; }
13 
14  constexpr void Reset() noexcept
15  {
17  rootCollidable = nullptr;
18  }
19 
20  // members
21  const hkpCollidable* rootCollidable{ nullptr }; // 50
22  std::uint64_t pad58; // 58
23  private:
24  KEEP_FOR_RE()
25  };
26  static_assert(sizeof(hkpWorldRayCastOutput) == 0x60);
27 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: hkpCollidable.h:13
Definition: AbsorbEffect.h:6
Definition: hkpShapeRayCastOutput.h:9
constexpr void Reset() noexcept
Definition: hkpShapeRayCastOutput.h:24
Definition: hkpWorldRayCastOutput.h:10
constexpr void Reset() noexcept
Definition: hkpWorldRayCastOutput.h:14
constexpr bool HasHit() const noexcept
Definition: hkpWorldRayCastOutput.h:12
std::uint64_t pad58
Definition: hkpWorldRayCastOutput.h:22
const hkpCollidable * rootCollidable
Definition: hkpWorldRayCastOutput.h:21