#include <Box3DWorld.h>
Public 成员函数 | |
| WorldBackend (World3D &owner, float gx, float gy, float gz, bool sleep) | |
| eve::Result< std::unique_ptr< IJointBackend3D > > | newWeldJoint (Body3D &bodyA, Body3D &bodyB, float anchorX, float anchorY, float anchorZ, bool collideConnected) override |
| Creates an owning Weld constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks. | |
| eve::Result< std::unique_ptr< IJointBackend3D > > | newMotorJoint (Body3D &bodyA, Body3D &bodyB, bool collideConnected) override |
| Creates an owning Motor constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks. | |
| eve::Result< std::unique_ptr< IJointBackend3D > > | newParallelJoint (Body3D &bodyA, Body3D &bodyB, float axisX, float axisY, float axisZ, bool collideConnected) override |
| Creates an owning Parallel constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks. | |
| eve::Result< std::unique_ptr< IJointBackend3D > > | newFilterJoint (Body3D &bodyA, Body3D &bodyB) override |
| Creates an owning Filter constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks. | |
| eve::Result< std::unique_ptr< IJointBackend3D > > | newDistanceJoint (Body3D &bodyA, Body3D &bodyB, float anchorAX, float anchorAY, float anchorAZ, float anchorBX, float anchorBY, float anchorBZ, float length, bool collideConnected) override |
| Creates an owning Distance constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks. | |
| eve::Result< std::unique_ptr< IJointBackend3D > > | newRevoluteJoint (Body3D &bodyA, Body3D &bodyB, float anchorX, float anchorY, float anchorZ, float axisX, float axisY, float axisZ, bool collideConnected) override |
| Creates an owning Revolute constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks. | |
| eve::Result< std::unique_ptr< IJointBackend3D > > | newPrismaticJoint (Body3D &bodyA, Body3D &bodyB, float anchorX, float anchorY, float anchorZ, float axisX, float axisY, float axisZ, bool collideConnected) override |
| Creates an owning Prismatic constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks. | |
| eve::Result< std::unique_ptr< IJointBackend3D > > | newSphericalJoint (Body3D &bodyA, Body3D &bodyB, float anchorX, float anchorY, float anchorZ, float axisX, float axisY, float axisZ, bool collideConnected) override |
| Creates an owning Spherical constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks. | |
| eve::Result< std::unique_ptr< IJointBackend3D > > | newWheelJoint (Body3D &bodyA, Body3D &bodyB, float anchorX, float anchorY, float anchorZ, float suspensionAxisX, float suspensionAxisY, float suspensionAxisZ, float wheelAxisX, float wheelAxisY, float wheelAxisZ, bool collideConnected) override |
| Creates an owning Wheel constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks. | |
| ~WorldBackend () override | |
| bool | isValid () const noexcept override |
| Native world liveness. | |
| void | destroy () noexcept override |
| Idempotent native teardown after all facades have been invalidated. | |
| eve::Result< SimulationBackendSelection > | selectSimulation () override |
| Builds the separate CPU/accelerator step driver; driver borrows this world's stable state. | |
| eve::Result< void > | swapTopology (IWorldBackend3D &prepared) override |
| Swaps prepared native topology while retaining stable step-driver contexts. | |
| uint64_t | shapeKey (const Shape3D &shape) const override |
| Opaque native lookup key scoped to this world, used only by internal event history. | |
| eve::Result< void > | collectEvents () override |
| Collects solver events into the owner's queues without publishing callbacks. | |
| eve::Result< std::unique_ptr< IBodyBackend3D > > | createBody (std::string_view type, float x, float y, float z) override |
| Creates an owning body backend without publishing an engine wrapper. @cost One native body allocation per topology addition. | |
| eve::Result< void > | setContinuousCollisionEnabled (bool enabled) override |
| setContinuousCollisionEnabled; uses the class ownership, thread and failure contract. | |
| eve::Result< bool > | isContinuousCollisionEnabled () const override |
| isContinuousCollisionEnabled; uses the class ownership, thread and failure contract. | |
| eve::Result< void > | setRestitutionThreshold (float speed) override |
| setRestitutionThreshold; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getRestitutionThreshold () const override |
| getRestitutionThreshold; uses the class ownership, thread and failure contract. | |
| eve::Result< void > | setContactTuning (float hertz, float dampingRatio, float pushOutSpeed) override |
| setContactTuning; uses the class ownership, thread and failure contract. | |
| eve::Result< void > | setContactRecycleDistance (float distance) override |
| setContactRecycleDistance; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getContactRecycleDistance () const override |
| getContactRecycleDistance; uses the class ownership, thread and failure contract. | |
| eve::Result< void > | setMaximumLinearSpeed (float speed) override |
| setMaximumLinearSpeed; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getMaximumLinearSpeed () const override |
| getMaximumLinearSpeed; uses the class ownership, thread and failure contract. | |
| eve::Result< void > | setWarmStartingEnabled (bool enabled) override |
| setWarmStartingEnabled; uses the class ownership, thread and failure contract. | |
| eve::Result< bool > | isWarmStartingEnabled () const override |
| isWarmStartingEnabled; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | explode (float x, float y, float z, float radius, float falloff, float impulsePerArea, int maskBits) override |
| explode; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getBoundsMinX () const override |
| getBoundsMinX; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getBoundsMinY () const override |
| getBoundsMinY; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getBoundsMinZ () const override |
| getBoundsMinZ; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getBoundsMaxX () const override |
| getBoundsMaxX; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getBoundsMaxY () const override |
| getBoundsMaxY; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getBoundsMaxZ () const override |
| getBoundsMaxZ; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | getBodyCount () const override |
| getBodyCount; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | getShapeCount () const override |
| getShapeCount; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | getContactCount () const override |
| getContactCount; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | getJointCount () const override |
| getJointCount; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | getIslandCount () const override |
| getIslandCount; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | getAwakeContactCount () const override |
| getAwakeContactCount; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | getRecycledContactCount () const override |
| getRecycledContactCount; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | getStaticTreeHeight () const override |
| getStaticTreeHeight; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | getDynamicTreeHeight () const override |
| getDynamicTreeHeight; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | getMemoryByteCount () const override |
| getMemoryByteCount; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | getAwakeBodyCount () const override |
| getAwakeBodyCount; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getProfileStepMs () const override |
| getProfileStepMs; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getProfilePairsMs () const override |
| getProfilePairsMs; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getProfileCollideMs () const override |
| getProfileCollideMs; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getProfileSolveMs () const override |
| getProfileSolveMs; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getProfileBulletsMs () const override |
| getProfileBulletsMs; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getProfileSensorsMs () const override |
| getProfileSensorsMs; uses the class ownership, thread and failure contract. | |
| eve::Result< void > | setGravity (float gx, float gy, float gz) override |
| setGravity; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getGravityX () const override |
| getGravityX; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getGravityY () const override |
| getGravityY; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getGravityZ () const override |
| getGravityZ; uses the class ownership, thread and failure contract. | |
| eve::Result< void > | setHitEventThreshold (float speed) override |
| setHitEventThreshold; uses the class ownership, thread and failure contract. | |
| eve::Result< float > | getHitEventThreshold () const override |
| getHitEventThreshold; uses the class ownership, thread and failure contract. | |
| eve::Result< CameraSphereHit3D > | sphereCast (float x1, float y1, float z1, float x2, float y2, float z2, float radius, uint64_t maskBits, int ignoredBodyId) const override |
| sphereCast; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | rayCastFiltered (float x1, float y1, float z1, float x2, float y2, float z2, uint64_t maskBits) override |
| rayCastFiltered; uses the class ownership, thread and failure contract. | |
| eve::Result< RayHit3D > | rayCastOwned (float x1, float y1, float z1, float x2, float y2, float z2, QueryFilter3D filter) override |
| rayCastOwned; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | rayCastAll (float x1, float y1, float z1, float x2, float y2, float z2, int maxHits) override |
| rayCastAll; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | queryAABB (float minX, float minY, float minZ, float maxX, float maxY, float maxZ) override |
| queryAABB; uses the class ownership, thread and failure contract. | |
| eve::Result< BroadPhaseAabb3D > | queryAabbBroadPhaseOwned (float minX, float minY, float minZ, float maxX, float maxY, float maxZ, QueryFilter3D filter) override |
| queryAabbBroadPhaseOwned; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | querySphere (float x, float y, float z, float radius) override |
| querySphere; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | queryCapsule (float ax, float ay, float az, float bx, float by, float bz, float radius) override |
| queryCapsule; uses the class ownership, thread and failure contract. | |
| eve::Result< CapsuleOverlap3D > | queryCapsuleOwned (float ax, float ay, float az, float bx, float by, float bz, float radius, QueryFilter3D filter) override |
| queryCapsuleOwned; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | queryBox (float x, float y, float z, float width, float height, float depth, float qx, float qy, float qz, float qw) override |
| queryBox; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | castSphereAll (float x, float y, float z, float radius, float dx, float dy, float dz, int maxHits) override |
| castSphereAll; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | castCapsuleAll (float ax, float ay, float az, float bx, float by, float bz, float radius, float dx, float dy, float dz, int maxHits) override |
| castCapsuleAll; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | castBoxAll (float x, float y, float z, float width, float height, float depth, float qx, float qy, float qz, float qw, float dx, float dy, float dz, int maxHits) override |
| castBoxAll; uses the class ownership, thread and failure contract. | |
| eve::Result< int > | closestPoint (float x, float y, float z, float maxDistance) override |
| closestPoint; uses the class ownership, thread and failure contract. | |
| eve::Result< void > | setMoverUp (float x, float y, float z) override |
| setMoverUp; uses the class ownership, thread and failure contract. | |
| eve::Result< bool > | moveCapsule (float ax, float ay, float az, float bx, float by, float bz, float radius, float dx, float dy, float dz) override |
| moveCapsule; uses the class ownership, thread and failure contract. | |
| eve::Result< CapsuleMove3D > | moveCapsuleOwned (float ax, float ay, float az, float bx, float by, float bz, float radius, float dx, float dy, float dz, QueryFilter3D filter, CapsuleMovePolicy3D policy) override |
| moveCapsuleOwned; uses the class ownership, thread and failure contract. | |
| eve::Result< ClothContact3D > | pointProbeFiltered (float x, float y, float z, float radius, uint64_t categoryBits, uint64_t maskBits) const override |
| pointProbeFiltered; uses the class ownership, thread and failure contract. | |
| eve::Result< BodyContacts3D > | queryBodyContactsOwned (PhysicsBodyHandle body, int maxPoints) const override |
| queryBodyContactsOwned; uses the class ownership, thread and failure contract. | |
Public 成员函数 继承自 eve::physics::IWorldBackend3D | |
| virtual | ~IWorldBackend3D ()=default |
友元 | |
| struct | Access |
详细描述
在文件 Box3DWorld.h 第 7 行定义.
构造及析构函数说明
◆ WorldBackend()
| eve::physics::box3d::WorldBackend::WorldBackend | ( | World3D & | owner, |
| float | gx, | ||
| float | gy, | ||
| float | gz, | ||
| bool | sleep | ||
| ) |
在文件 Box3DWorld.cpp 第 67 行定义.
◆ ~WorldBackend()
|
override |
在文件 Box3DWorld.cpp 第 81 行定义.
引用了 destroy().
成员函数说明
◆ castBoxAll()
|
overridevirtual |
◆ castCapsuleAll()
|
overridevirtual |
castCapsuleAll; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 576 行定义.
引用了 dx, dy, dz, radius , 以及 eve::Result< T >::success().
◆ castSphereAll()
|
overridevirtual |
castSphereAll; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 559 行定义.
引用了 dx, dy, dz, radius, eve::Result< T >::success(), x, y , 以及 z.
◆ closestPoint()
|
overridevirtual |
closestPoint; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 681 行定义.
引用了 eve::Result< T >::success(), x, y , 以及 z.
◆ collectEvents()
|
overridevirtual |
Collects solver events into the owner's queues without publishing callbacks.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldContacts.cpp 第 98 行定义.
引用了 a, b, eve::Diagnostic::error(), eve::Result< T >::failure(), force, isValid(), normal, eve::physics::World3D::EventShape::shapeId, source, eve::StaleHandle, eve::Result< T >::success() , 以及 torque.
◆ createBody()
|
overridevirtual |
Creates an owning body backend without publishing an engine wrapper. @cost One native body allocation per topology addition.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 107 行定义.
引用了 eve::physics::box3d::adoptBody(), eve::Diagnostic::error(), eve::Failed, eve::InvalidArgument, isValid(), eve::StaleHandle, type, x, y , 以及 z.
◆ destroy()
|
overridevirtualnoexcept |
Idempotent native teardown after all facades have been invalidated.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 83 行定义.
引用了 isValid().
被这些函数引用 ~WorldBackend().
◆ explode()
|
overridevirtual |
explode; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 304 行定义.
引用了 radius, eve::Result< T >::success(), x, y , 以及 z.
◆ getAwakeBodyCount()
|
overridevirtual |
getAwakeBodyCount; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 432 行定义.
◆ getAwakeContactCount()
|
overridevirtual |
getAwakeContactCount; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 393 行定义.
◆ getBodyCount()
|
overridevirtual |
getBodyCount; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 361 行定义.
◆ getBoundsMaxX()
|
overridevirtual |
getBoundsMaxX; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 339 行定义.
◆ getBoundsMaxY()
|
overridevirtual |
getBoundsMaxY; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 347 行定义.
◆ getBoundsMaxZ()
|
overridevirtual |
getBoundsMaxZ; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 355 行定义.
◆ getBoundsMinX()
|
overridevirtual |
getBoundsMinX; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 315 行定义.
◆ getBoundsMinY()
|
overridevirtual |
getBoundsMinY; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 323 行定义.
◆ getBoundsMinZ()
|
overridevirtual |
getBoundsMinZ; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 331 行定义.
◆ getContactCount()
|
overridevirtual |
getContactCount; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 373 行定义.
◆ getContactRecycleDistance()
|
overridevirtual |
getContactRecycleDistance; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 214 行定义.
◆ getDynamicTreeHeight()
|
overridevirtual |
getDynamicTreeHeight; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 418 行定义.
◆ getGravityX()
|
overridevirtual |
getGravityX; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 496 行定义.
◆ getGravityY()
|
overridevirtual |
getGravityY; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 505 行定义.
◆ getGravityZ()
|
overridevirtual |
getGravityZ; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 514 行定义.
◆ getHitEventThreshold()
|
overridevirtual |
getHitEventThreshold; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 533 行定义.
◆ getIslandCount()
|
overridevirtual |
getIslandCount; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 385 行定义.
◆ getJointCount()
|
overridevirtual |
getJointCount; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 379 行定义.
◆ getMaximumLinearSpeed()
|
overridevirtual |
getMaximumLinearSpeed; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 236 行定义.
◆ getMemoryByteCount()
|
overridevirtual |
getMemoryByteCount; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 425 行定义.
◆ getProfileBulletsMs()
|
overridevirtual |
getProfileBulletsMs; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 467 行定义.
◆ getProfileCollideMs()
|
overridevirtual |
getProfileCollideMs; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 453 行定义.
◆ getProfilePairsMs()
|
overridevirtual |
getProfilePairsMs; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 446 行定义.
◆ getProfileSensorsMs()
|
overridevirtual |
getProfileSensorsMs; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 474 行定义.
◆ getProfileSolveMs()
|
overridevirtual |
getProfileSolveMs; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 460 行定义.
◆ getProfileStepMs()
|
overridevirtual |
getProfileStepMs; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 439 行定义.
◆ getRecycledContactCount()
|
overridevirtual |
getRecycledContactCount; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 402 行定义.
◆ getRestitutionThreshold()
|
overridevirtual |
getRestitutionThreshold; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 172 行定义.
◆ getShapeCount()
|
overridevirtual |
getShapeCount; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 367 行定义.
◆ getStaticTreeHeight()
|
overridevirtual |
getStaticTreeHeight; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 411 行定义.
◆ isContinuousCollisionEnabled()
|
overridevirtual |
isContinuousCollisionEnabled; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 150 行定义.
◆ isValid()
|
overridevirtualnoexcept |
Native world liveness.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 82 行定义.
被这些函数引用 collectEvents(), createBody(), destroy(), newDistanceJoint(), newPrismaticJoint(), newRevoluteJoint(), newSphericalJoint() , 以及 newWheelJoint().
◆ isWarmStartingEnabled()
|
overridevirtual |
isWarmStartingEnabled; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 254 行定义.
◆ moveCapsule()
|
overridevirtual |
moveCapsule; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldMover.cpp 第 161 行定义.
引用了 dx, dy, dz, radius , 以及 eve::Result< T >::success().
◆ moveCapsuleOwned()
|
overridevirtual |
moveCapsuleOwned; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldMover.cpp 第 209 行定义.
◆ newDistanceJoint()
|
overridevirtual |
Creates an owning Distance constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldJoints.cpp 第 128 行定义.
引用了 eve::physics::box3d::adoptJoint(), eve::physics::box3d::Access::bodyId(), collideConnected, eve::physics::Distance, eve::Diagnostic::error(), eve::Failed, isValid(), length, value , 以及 values.
◆ newFilterJoint()
|
overridevirtual |
Creates an owning Filter constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldJoints.cpp 第 110 行定义.
引用了 eve::physics::box3d::adoptJoint(), eve::physics::box3d::Access::bodyId(), eve::Diagnostic::error(), eve::Failed , 以及 eve::physics::Filter.
◆ newMotorJoint()
|
overridevirtual |
Creates an owning Motor constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldJoints.cpp 第 62 行定义.
引用了 eve::physics::box3d::adoptJoint(), eve::physics::box3d::Access::bodyId(), collideConnected, eve::Diagnostic::error(), eve::Failed , 以及 eve::physics::Motor.
◆ newParallelJoint()
|
overridevirtual |
Creates an owning Parallel constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldJoints.cpp 第 82 行定义.
引用了 eve::physics::box3d::adoptJoint(), axisX, axisY, axisZ, eve::physics::box3d::Access::bodyId(), collideConnected, eve::Diagnostic::error(), eve::Failed, eve::physics::Parallel , 以及 values.
◆ newPrismaticJoint()
|
overridevirtual |
Creates an owning Prismatic constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldJoints.cpp 第 201 行定义.
引用了 eve::physics::box3d::adoptJoint(), axisX, axisY, axisZ, eve::physics::box3d::Access::bodyId(), collideConnected, eve::Diagnostic::error(), eve::Failed, isValid(), eve::physics::Prismatic, value , 以及 values.
◆ newRevoluteJoint()
|
overridevirtual |
Creates an owning Revolute constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldJoints.cpp 第 163 行定义.
引用了 eve::physics::box3d::adoptJoint(), axisX, axisY, axisZ, eve::physics::box3d::Access::bodyId(), collideConnected, eve::Diagnostic::error(), eve::Failed, isValid(), eve::physics::Revolute, value , 以及 values.
◆ newSphericalJoint()
|
overridevirtual |
Creates an owning Spherical constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldJoints.cpp 第 239 行定义.
引用了 eve::physics::box3d::adoptJoint(), axisX, axisY, axisZ, eve::physics::box3d::Access::bodyId(), collideConnected, eve::Diagnostic::error(), eve::Failed, isValid(), eve::physics::Spherical, value , 以及 values.
◆ newWeldJoint()
|
overridevirtual |
Creates an owning Weld constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldJoints.cpp 第 32 行定义.
引用了 eve::physics::box3d::adoptJoint(), eve::physics::box3d::Access::bodyId(), collideConnected, eve::Diagnostic::error(), eve::Failed, values , 以及 eve::physics::Weld.
◆ newWheelJoint()
|
overridevirtual |
Creates an owning Wheel constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldJoints.cpp 第 277 行定义.
引用了 eve::physics::box3d::adoptJoint(), eve::physics::box3d::Access::bodyId(), collideConnected, eve::Diagnostic::error(), eve::Failed, isValid(), value, values , 以及 eve::physics::Wheel.
◆ pointProbeFiltered()
|
overridevirtual |
pointProbeFiltered; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldMover.cpp 第 252 行定义.
◆ queryAABB()
|
overridevirtual |
queryAABB; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 281 行定义.
◆ queryAabbBroadPhaseOwned()
|
overridevirtual |
queryAabbBroadPhaseOwned; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 337 行定义.
引用了 filter.
◆ queryBodyContactsOwned()
|
overridevirtual |
queryBodyContactsOwned; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldContacts.cpp 第 94 行定义.
引用了 body.
◆ queryBox()
|
overridevirtual |
queryBox; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 461 行定义.
引用了 depth, height, qw, qx, qy, qz, eve::Result< T >::success(), width, x, y , 以及 z.
◆ queryCapsule()
|
overridevirtual |
queryCapsule; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 399 行定义.
引用了 radius , 以及 eve::Result< T >::success().
◆ queryCapsuleOwned()
|
overridevirtual |
queryCapsuleOwned; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 445 行定义.
◆ querySphere()
|
overridevirtual |
querySphere; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 384 行定义.
引用了 radius, eve::Result< T >::success(), x, y , 以及 z.
◆ rayCastAll()
|
overridevirtual |
rayCastAll; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 148 行定义.
◆ rayCastFiltered()
|
overridevirtual |
rayCastFiltered; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 74 行定义.
◆ rayCastOwned()
|
overridevirtual |
rayCastOwned; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 139 行定义.
引用了 filter.
◆ selectSimulation()
|
overridevirtual |
Builds the separate CPU/accelerator step driver; driver borrows this world's stable state.
- 返回
- Owning selection with explicit accelerator absence/failure evidence.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 87 行定义.
引用了 eve::physics::Cpu, eve::physics::ToleranceBounded , 以及 eve::physics::World3D.
◆ setContactRecycleDistance()
|
overridevirtual |
setContactRecycleDistance; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 203 行定义.
引用了 distance , 以及 eve::Result< T >::success().
◆ setContactTuning()
|
overridevirtual |
setContactTuning; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 190 行定义.
引用了 dampingRatio , 以及 eve::Result< T >::success().
◆ setContinuousCollisionEnabled()
|
overridevirtual |
setContinuousCollisionEnabled; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 139 行定义.
引用了 enabled , 以及 eve::Result< T >::success().
◆ setGravity()
|
overridevirtual |
setGravity; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 484 行定义.
◆ setHitEventThreshold()
|
overridevirtual |
setHitEventThreshold; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 524 行定义.
◆ setMaximumLinearSpeed()
|
overridevirtual |
setMaximumLinearSpeed; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 225 行定义.
◆ setMoverUp()
|
overridevirtual |
setMoverUp; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldMover.cpp 第 23 行定义.
引用了 eve::Result< T >::success(), x, y , 以及 z.
◆ setRestitutionThreshold()
|
overridevirtual |
setRestitutionThreshold; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 161 行定义.
◆ setWarmStartingEnabled()
|
overridevirtual |
setWarmStartingEnabled; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 245 行定义.
引用了 enabled , 以及 eve::Result< T >::success().
◆ shapeKey()
|
overridevirtual |
Opaque native lookup key scoped to this world, used only by internal event history.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 106 行定义.
引用了 shape , 以及 eve::physics::box3d::Access::shapeId().
◆ sphereCast()
|
overridevirtual |
sphereCast; uses the class ownership, thread and failure contract.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorldQueries.cpp 第 58 行定义.
引用了 hit, radius , 以及 eve::Result< T >::success().
◆ swapTopology()
|
overridevirtual |
Swaps prepared native topology while retaining stable step-driver contexts.
- 备注
- Both worlds must have the same implementation; failure leaves both unchanged.
实现了 eve::physics::IWorldBackend3D.
在文件 Box3DWorld.cpp 第 94 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), source, eve::Result< T >::success() , 以及 eve::Unsupported.
友元及相关函数文档
◆ Access
|
friend |
在文件 Box3DWorld.h 第 8 行定义.
该类的文档由以下文件生成:
- src/modules/physics/box3d/Box3DWorld.h
- src/modules/physics/box3d/Box3DWorld.cpp
- src/modules/physics/box3d/Box3DWorldContacts.cpp
- src/modules/physics/box3d/Box3DWorldJoints.cpp
- src/modules/physics/box3d/Box3DWorldMover.cpp
- src/modules/physics/box3d/Box3DWorldQueries.cpp
Public 成员函数 继承自