CommonLibVR
Loading...
Searching...
No Matches
hkpMouseSpringAction.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace RE
6{
8 {
9 public:
10 inline static constexpr auto RTTI = RTTI_hkpMouseSpringAction;
11 inline static constexpr auto VTABLE = VTABLE_hkpMouseSpringAction;
12
13 using MouseSpringAppliedCallback = void(hkpMouseSpringAction* a_mouseSpring, const hkStepInfo& a_stepInfo, const hkVector4& a_impulseApplied);
14
15 virtual ~hkpMouseSpringAction() override; // 00
16
17 // override (hkpUnaryAction)
18 void ApplyAction(const hkStepInfo& a_stepInfo) override; // 03
19 void EntityRemovedCallback(hkpEntity* a_entity) override; // 06
20 hkpAction* Clone(const hkArray<hkpEntity*>& a_newEntities, const hkArray<hkpPhantom*>& a_newPhantoms) const override; // 07
21
22 // members
25 float springDamping; // 60
26 float springElasticity; // 64
27 float maxRelativeForce; // 68
28 float objectDamping; // 6C
30 std::uint32_t pad74; // 74
32 };
33 static_assert(sizeof(hkpMouseSpringAction) == 0x90);
34}
Definition hkArray.h:190
Definition hkStepInfo.h:8
Definition hkVector4.h:9
Definition hkpAction.h:8
Definition hkpEntity.h:25
Definition hkpMouseSpringAction.h:8
virtual ~hkpMouseSpringAction() override
static constexpr auto VTABLE
Definition hkpMouseSpringAction.h:11
hkpAction * Clone(const hkArray< hkpEntity * > &a_newEntities, const hkArray< hkpPhantom * > &a_newPhantoms) const override
void ApplyAction(const hkStepInfo &a_stepInfo) override
float objectDamping
Definition hkpMouseSpringAction.h:28
hkpShapeKey shapeKey
Definition hkpMouseSpringAction.h:29
void EntityRemovedCallback(hkpEntity *a_entity) override
float maxRelativeForce
Definition hkpMouseSpringAction.h:27
std::uint32_t pad74
Definition hkpMouseSpringAction.h:30
float springElasticity
Definition hkpMouseSpringAction.h:26
hkArray< MouseSpringAppliedCallback * > applyCallbacks
Definition hkpMouseSpringAction.h:31
hkVector4 positionInRbLocal
Definition hkpMouseSpringAction.h:23
hkVector4 mousePositionInWorld
Definition hkpMouseSpringAction.h:24
static constexpr auto RTTI
Definition hkpMouseSpringAction.h:10
void(hkpMouseSpringAction *a_mouseSpring, const hkStepInfo &a_stepInfo, const hkVector4 &a_impulseApplied) MouseSpringAppliedCallback
Definition hkpMouseSpringAction.h:13
float springDamping
Definition hkpMouseSpringAction.h:25
Definition hkpUnaryAction.h:10
Definition AbsorbEffect.h:6
constexpr REL::ID RTTI_hkpMouseSpringAction(static_cast< std::uint64_t >(689936))
constexpr std::array< REL::ID, 1 > VTABLE_hkpMouseSpringAction
Definition Offsets_VTABLE.h:14286
std::uint32_t hkpShapeKey
Definition hkpContactPointEvent.h:12