CommonLibSSE NG
Loading...
Searching...
No Matches
hkpRayHitCollector.h
Go to the documentation of this file.
1#pragma once
2
3namespace 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 };
26 static_assert(sizeof(hkpRayHitCollector) == 0x10);
27}
Definition hkpCdBody.h:8
Definition hkpRayHitCollector.h:10
virtual ~hkpRayHitCollector()
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 std::array< REL::VariantID, 1 > VTABLE_hkpRayHitCollector
Definition Offsets_VTABLE.h:361
constexpr REL::VariantID RTTI_hkpRayHitCollector(684908, 392642, 0x1edc1f8)
Definition hkpShapeRayCastCollectorOutput.h:9