载入中...
搜索中...
未找到
JoltWorldOperations.cpp
浏览该文件的文档.
44 return rejected<void>("Invalid contact persistence distance", eve::DiagnosticCode::InvalidArgument);
60 return rejected<void>("Speed must be positive and finite", eve::DiagnosticCode::InvalidArgument);
173 return R::success(static_cast<int>(state->system.GetNumActiveBodies(JPH::EBodyType::RigidBody)));
202 if (!isFinite(gx, gy, gz)) return rejected<void>("Invalid gravity", eve::DiagnosticCode::InvalidArgument);
eve::Result< void > setWarmStartingEnabled(bool enabled) override
setWarmStartingEnabled; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:72
eve::Result< int > getAwakeContactCount() const override
getAwakeContactCount; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:144
eve::Result< int > getIslandCount() const override
getIslandCount; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:140
eve::Result< int > getStaticTreeHeight() const override
getStaticTreeHeight; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:158
eve::Result< void > setContactRecycleDistance(float distance) override
setContactRecycleDistance; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:41
eve::Result< float > getGravityZ() const override
getGravityZ; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:216
eve::Result< void > setContinuousCollisionEnabled(bool enabled) override
setContinuousCollisionEnabled; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:10
eve::Result< int > getAwakeBodyCount() const override
getAwakeBodyCount; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:170
eve::Result< bool > isContinuousCollisionEnabled() const override
isContinuousCollisionEnabled; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:18
eve::Result< float > getContactRecycleDistance() const override
getContactRecycleDistance; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:52
eve::Result< void > setMaximumLinearSpeed(float speed) override
setMaximumLinearSpeed; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:57
eve::Result< bool > isWarmStartingEnabled() const override
isWarmStartingEnabled; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:80
eve::Result< float > getMaximumLinearSpeed() const override
getMaximumLinearSpeed; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:68
eve::Result< float > getBoundsMaxY() const override
getBoundsMaxY; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:105
eve::Result< int > getDynamicTreeHeight() const override
getDynamicTreeHeight; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:162
eve::Result< void > setRestitutionThreshold(float speed) override
setRestitutionThreshold; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:22
eve::Result< float > getBoundsMaxZ() const override
getBoundsMaxZ; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:110
eve::Result< float > getProfileBulletsMs() const override
getProfileBulletsMs; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:191
eve::Result< void > setGravity(float gx, float gy, float gz) override
setGravity; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:199
eve::Result< float > getBoundsMinX() const override
getBoundsMinX; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:85
eve::Result< float > getProfileCollideMs() const override
getProfileCollideMs; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:183
eve::Result< float > getGravityY() const override
getGravityY; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:211
eve::Result< float > getProfileStepMs() const override
getProfileStepMs; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:175
eve::Result< float > getBoundsMaxX() const override
getBoundsMaxX; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:100
eve::Result< float > getProfilePairsMs() const override
getProfilePairsMs; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:179
eve::Result< void > setContactTuning(float hertz, float dampingRatio, float pushOutSpeed) override
setContactTuning; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:37
eve::Result< int > getRecycledContactCount() const override
getRecycledContactCount; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:154
eve::Result< float > getBoundsMinY() const override
getBoundsMinY; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:90
eve::Result< float > getRestitutionThreshold() const override
getRestitutionThreshold; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:32
eve::Result< float > getHitEventThreshold() const override
getHitEventThreshold; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:228
eve::Result< void > setHitEventThreshold(float speed) override
setHitEventThreshold; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:221
eve::Result< int > getShapeCount() const override
getShapeCount; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:120
eve::Result< int > getMemoryByteCount() const override
getMemoryByteCount; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:166
eve::Result< int > getContactCount() const override
getContactCount; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:127
eve::Result< float > getProfileSolveMs() const override
getProfileSolveMs; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:187
eve::Result< int > getJointCount() const override
getJointCount; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:132
eve::Result< float > getBoundsMinZ() const override
getBoundsMinZ; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:95
eve::Result< float > getProfileSensorsMs() const override
getProfileSensorsMs; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:195
eve::Result< float > getGravityX() const override
getGravityX; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:206
eve::Result< int > getBodyCount() const override
getBodyCount; uses the class ownership, thread and failure contract.
Definition JoltWorldOperations.cpp:115
Definition JoltBody.cpp:7
@ InvalidArgument
@ StaleHandle