CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
hkpWorldCinfo.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/H/hkAabb.h"
4#include "RE/H/hkRefPtr.h"
6#include "RE/H/hkVector4.h"
7
8namespace RE
9{
10 class hkpCollisionFilter;
11 class hkpConvexListFilter;
12 class hkWorldMemoryAvailableWatchDog;
13
15 {
16 public:
17 inline static constexpr auto RTTI = RTTI_hkpWorldCinfo;
18
19 enum class SolverType
20 {
31
32 kTotal
33 };
34
35 enum class SimulationType
36 {
41 };
42
44 {
48 };
49
51 {
52 kAssert,
56 };
57
58 enum class TreeUpdateType
59 {
60 kActive,
61 kAll
62 };
63
64 ~hkpWorldCinfo() override; // 00
65
66 // members
68 std::int32_t broadPhaseQuerySize; // 020
72 std::uint16_t pad02A; // 02A
73 std::uint32_t pad02C; // 02C
75 bool useKdTree; // 050
76 bool useMultipleTree; // 051
78 bool autoUpdateKdTree; // 053
79 float collisionTolerance; // 054
83 std::int32_t sizeOfToiEventQueue; // 068
86 std::int32_t broadPhaseNumMarkers; // 080
90 std::uint8_t pad087; // 087
91 float solverTau; // 088
92 float solverDamp; // 08C
93 std::int32_t solverIterations; // 090
94 std::int32_t solverMicrosteps; // 094
97 std::uint8_t pad09D; // 09D
98 std::uint16_t pad09E; // 09E
103 std::uint16_t pad0AA; // 0AA
108 std::uint8_t deactivationIntegrateCounter; // 0B6
115 std::uint8_t pad0C9; // 0C9
116 std::uint16_t pad0CA; // 0CA
127 std::uint8_t pad0EB; // 0EB
128 std::uint32_t minDesiredIslandSize; // 0EC
131 std::uint16_t pad0F2; // 0F2
132 float frameMarkerPsiSnap; // 0F4
134 std::uint8_t pad0F9; // 0F9
135 std::uint16_t pad0FA; // 0FA
136 std::uint32_t pad0FC; // 0FC
137 };
138 static_assert(sizeof(hkpWorldCinfo) == 0x100);
139}
Definition: hkAabb.h:8
Definition: hkRefPtr.h:7
Definition: hkReferencedObject.h:11
Definition: hkVector4.h:8
Definition: hkpWorldCinfo.h:15
float snapCollisionToConvexEdgeThreshold
Definition: hkpWorldCinfo.h:99
bool mtPostponeAndSortBroadPhaseBorderCallbacks
Definition: hkpWorldCinfo.h:71
std::uint16_t pad0F2
Definition: hkpWorldCinfo.h:131
stl::enumeration< BroadPhaseBorderBehaviour, std::int8_t > broadPhaseBorderBehaviour
Definition: hkpWorldCinfo.h:70
bool useMultipleTree
Definition: hkpWorldCinfo.h:76
hkAabb broadPhaseWorldAabb
Definition: hkpWorldCinfo.h:74
std::uint32_t minDesiredIslandSize
Definition: hkpWorldCinfo.h:128
std::uint8_t deactivationNumInactiveFramesSelectFlag1
Definition: hkpWorldCinfo.h:107
float frameMarkerPsiSnap
Definition: hkpWorldCinfo.h:132
bool allowToSkipConfirmedCallbacks
Definition: hkpWorldCinfo.h:88
SolverType
Definition: hkpWorldCinfo.h:20
std::int32_t maxEntriesPerToiNarrowphaseCollideTask
Definition: hkpWorldCinfo.h:118
std::uint8_t pad09D
Definition: hkpWorldCinfo.h:97
std::uint16_t pad0CA
Definition: hkpWorldCinfo.h:116
std::int32_t solverMicrosteps
Definition: hkpWorldCinfo.h:94
static constexpr auto RTTI
Definition: hkpWorldCinfo.h:17
bool useHybridBroadphase
Definition: hkpWorldCinfo.h:89
bool fireCollisionCallbacks
Definition: hkpWorldCinfo.h:133
float numToisTillAllowedPenetrationToi
Definition: hkpWorldCinfo.h:121
hkRefPtr< hkpCollisionFilter > collisionFilter
Definition: hkpWorldCinfo.h:80
bool enableSimulationIslands
Definition: hkpWorldCinfo.h:126
bool shouldActivateOnRigidBodyTransformChange
Definition: hkpWorldCinfo.h:109
hkVector4 gravity
Definition: hkpWorldCinfo.h:67
std::uint8_t pad0F9
Definition: hkpWorldCinfo.h:134
hkRefPtr< hkpConvexListFilter > convexListFilter
Definition: hkpWorldCinfo.h:81
stl::enumeration< TreeUpdateType, std::int8_t > treeUpdateType
Definition: hkpWorldCinfo.h:77
float toiCollisionResponseRotateNormal
Definition: hkpWorldCinfo.h:111
hkRefPtr< hkWorldMemoryAvailableWatchDog > memoryWatchDog
Definition: hkpWorldCinfo.h:85
std::uint8_t pad0C9
Definition: hkpWorldCinfo.h:115
float deactivationReferenceDistance
Definition: hkpWorldCinfo.h:110
stl::enumeration< SimulationType, std::int8_t > simulationType
Definition: hkpWorldCinfo.h:125
std::int32_t maxEntriesPerToiMidphaseCollideTask
Definition: hkpWorldCinfo.h:117
std::uint32_t pad0FC
Definition: hkpWorldCinfo.h:136
float expectedMaxLinearVelocity
Definition: hkpWorldCinfo.h:82
std::int32_t maxSectorsPerNarrowphaseCollideTask
Definition: hkpWorldCinfo.h:113
bool forceCoherentConstraintOrderingInSolver
Definition: hkpWorldCinfo.h:96
float collisionTolerance
Definition: hkpWorldCinfo.h:79
std::uint16_t pad02A
Definition: hkpWorldCinfo.h:72
std::int32_t iterativeLinearCastMaxIterations
Definition: hkpWorldCinfo.h:105
std::uint8_t deactivationIntegrateCounter
Definition: hkpWorldCinfo.h:108
std::uint8_t pad0EB
Definition: hkpWorldCinfo.h:127
bool enableDeactivation
Definition: hkpWorldCinfo.h:124
std::int32_t maxSectorsPerMidphaseCollideTask
Definition: hkpWorldCinfo.h:112
~hkpWorldCinfo() override
std::int32_t solverIterations
Definition: hkpWorldCinfo.h:93
bool allowIntegrationOfIslandsWithoutConstraintsInASeparateJob
Definition: hkpWorldCinfo.h:130
float maxConstraintViolation
Definition: hkpWorldCinfo.h:95
bool autoUpdateKdTree
Definition: hkpWorldCinfo.h:78
SimulationType
Definition: hkpWorldCinfo.h:36
std::uint32_t pad02C
Definition: hkpWorldCinfo.h:73
std::int32_t broadPhaseNumMarkers
Definition: hkpWorldCinfo.h:86
std::uint16_t pad0AA
Definition: hkpWorldCinfo.h:103
float solverTau
Definition: hkpWorldCinfo.h:91
TreeUpdateType
Definition: hkpWorldCinfo.h:59
bool processActionsInSingleThread
Definition: hkpWorldCinfo.h:129
float iterativeLinearCastEarlyOutDistance
Definition: hkpWorldCinfo.h:104
ContactPointGeneration
Definition: hkpWorldCinfo.h:44
float snapCollisionToConcaveEdgeThreshold
Definition: hkpWorldCinfo.h:100
float expectedMinPsiDeltaTime
Definition: hkpWorldCinfo.h:84
float solverDamp
Definition: hkpWorldCinfo.h:92
std::int32_t sizeOfToiEventQueue
Definition: hkpWorldCinfo.h:83
BroadPhaseBorderBehaviour
Definition: hkpWorldCinfo.h:51
std::uint8_t pad087
Definition: hkpWorldCinfo.h:90
float contactRestingVelocity
Definition: hkpWorldCinfo.h:69
std::int32_t broadPhaseQuerySize
Definition: hkpWorldCinfo.h:68
bool enableToiWeldRejection
Definition: hkpWorldCinfo.h:101
bool useKdTree
Definition: hkpWorldCinfo.h:75
bool enableDeprecatedWelding
Definition: hkpWorldCinfo.h:102
bool processToisMultithreaded
Definition: hkpWorldCinfo.h:114
stl::enumeration< ContactPointGeneration, std::int8_t > contactPointGeneration
Definition: hkpWorldCinfo.h:87
float numToisTillAllowedPenetrationSimplifiedToi
Definition: hkpWorldCinfo.h:120
std::uint8_t deactivationNumInactiveFramesSelectFlag0
Definition: hkpWorldCinfo.h:106
std::uint16_t pad09E
Definition: hkpWorldCinfo.h:98
float numToisTillAllowedPenetrationToiHigher
Definition: hkpWorldCinfo.h:122
float numToisTillAllowedPenetrationToiForced
Definition: hkpWorldCinfo.h:123
std::uint16_t pad0FA
Definition: hkpWorldCinfo.h:135
std::int32_t maxNumToiCollisionPairsSinglethreaded
Definition: hkpWorldCinfo.h:119
Definition: PCH.h:216
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_hkpWorldCinfo
Definition: Offsets_RTTI.h:7795