载入中...
搜索中...
未找到
eve::physics::box3d::WorldBackend类 参考final

#include <Box3DWorld.h>

类 eve::physics::box3d::WorldBackend 继承关系图:
eve::physics::IWorldBackend3D

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()

eve::physics::box3d::WorldBackend::~WorldBackend ( )
override

在文件 Box3DWorld.cpp 第 81 行定义.

引用了 destroy().

成员函数说明

◆ castBoxAll()

eve::Result< int > eve::physics::box3d::WorldBackend::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 
)
overridevirtual

castBoxAll; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldQueries.cpp 第 595 行定义.

引用了 depth, dx, dy, dz, height, qw, qx, qy, qz, eve::Result< T >::success(), width, x, y , 以及 z.

◆ castCapsuleAll()

eve::Result< int > eve::physics::box3d::WorldBackend::castCapsuleAll ( float  ax,
float  ay,
float  az,
float  bx,
float  by,
float  bz,
float  radius,
float  dx,
float  dy,
float  dz,
int  maxHits 
)
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()

eve::Result< int > eve::physics::box3d::WorldBackend::castSphereAll ( float  x,
float  y,
float  z,
float  radius,
float  dx,
float  dy,
float  dz,
int  maxHits 
)
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()

eve::Result< int > eve::physics::box3d::WorldBackend::closestPoint ( float  x,
float  y,
float  z,
float  maxDistance 
)
overridevirtual

closestPoint; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldQueries.cpp 第 681 行定义.

引用了 eve::Result< T >::success(), x, y , 以及 z.

◆ collectEvents()

eve::Result< void > eve::physics::box3d::WorldBackend::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()

eve::Result< std::unique_ptr< IBodyBackend3D > > eve::physics::box3d::WorldBackend::createBody ( std::string_view  type,
float  x,
float  y,
float  z 
)
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()

void eve::physics::box3d::WorldBackend::destroy ( )
overridevirtualnoexcept

Idempotent native teardown after all facades have been invalidated.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 83 行定义.

引用了 isValid().

被这些函数引用 ~WorldBackend().

◆ explode()

eve::Result< int > eve::physics::box3d::WorldBackend::explode ( float  x,
float  y,
float  z,
float  radius,
float  falloff,
float  impulsePerArea,
int  maskBits 
)
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()

eve::Result< int > eve::physics::box3d::WorldBackend::getAwakeBodyCount ( ) const
overridevirtual

getAwakeBodyCount; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 432 行定义.

引用了 eve::Result< T >::success().

◆ getAwakeContactCount()

eve::Result< int > eve::physics::box3d::WorldBackend::getAwakeContactCount ( ) const
overridevirtual

getAwakeContactCount; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 393 行定义.

引用了 eve::Result< T >::success().

◆ getBodyCount()

eve::Result< int > eve::physics::box3d::WorldBackend::getBodyCount ( ) const
overridevirtual

getBodyCount; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 361 行定义.

引用了 eve::Result< T >::success().

◆ getBoundsMaxX()

eve::Result< float > eve::physics::box3d::WorldBackend::getBoundsMaxX ( ) const
overridevirtual

getBoundsMaxX; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 339 行定义.

引用了 eve::Result< T >::success().

◆ getBoundsMaxY()

eve::Result< float > eve::physics::box3d::WorldBackend::getBoundsMaxY ( ) const
overridevirtual

getBoundsMaxY; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 347 行定义.

引用了 eve::Result< T >::success().

◆ getBoundsMaxZ()

eve::Result< float > eve::physics::box3d::WorldBackend::getBoundsMaxZ ( ) const
overridevirtual

getBoundsMaxZ; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 355 行定义.

引用了 eve::Result< T >::success().

◆ getBoundsMinX()

eve::Result< float > eve::physics::box3d::WorldBackend::getBoundsMinX ( ) const
overridevirtual

getBoundsMinX; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 315 行定义.

引用了 eve::Result< T >::success().

◆ getBoundsMinY()

eve::Result< float > eve::physics::box3d::WorldBackend::getBoundsMinY ( ) const
overridevirtual

getBoundsMinY; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 323 行定义.

引用了 eve::Result< T >::success().

◆ getBoundsMinZ()

eve::Result< float > eve::physics::box3d::WorldBackend::getBoundsMinZ ( ) const
overridevirtual

getBoundsMinZ; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 331 行定义.

引用了 eve::Result< T >::success().

◆ getContactCount()

eve::Result< int > eve::physics::box3d::WorldBackend::getContactCount ( ) const
overridevirtual

getContactCount; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 373 行定义.

引用了 eve::Result< T >::success().

◆ getContactRecycleDistance()

eve::Result< float > eve::physics::box3d::WorldBackend::getContactRecycleDistance ( ) const
overridevirtual

getContactRecycleDistance; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 214 行定义.

引用了 eve::Result< T >::success().

◆ getDynamicTreeHeight()

eve::Result< int > eve::physics::box3d::WorldBackend::getDynamicTreeHeight ( ) const
overridevirtual

getDynamicTreeHeight; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 418 行定义.

引用了 eve::Result< T >::success().

◆ getGravityX()

eve::Result< float > eve::physics::box3d::WorldBackend::getGravityX ( ) const
overridevirtual

getGravityX; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 496 行定义.

引用了 eve::Result< T >::success().

◆ getGravityY()

eve::Result< float > eve::physics::box3d::WorldBackend::getGravityY ( ) const
overridevirtual

getGravityY; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 505 行定义.

引用了 eve::Result< T >::success().

◆ getGravityZ()

eve::Result< float > eve::physics::box3d::WorldBackend::getGravityZ ( ) const
overridevirtual

getGravityZ; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 514 行定义.

引用了 eve::Result< T >::success().

◆ getHitEventThreshold()

eve::Result< float > eve::physics::box3d::WorldBackend::getHitEventThreshold ( ) const
overridevirtual

getHitEventThreshold; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 533 行定义.

引用了 eve::Result< T >::success().

◆ getIslandCount()

eve::Result< int > eve::physics::box3d::WorldBackend::getIslandCount ( ) const
overridevirtual

getIslandCount; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 385 行定义.

引用了 eve::Result< T >::success().

◆ getJointCount()

eve::Result< int > eve::physics::box3d::WorldBackend::getJointCount ( ) const
overridevirtual

getJointCount; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 379 行定义.

引用了 eve::Result< T >::success().

◆ getMaximumLinearSpeed()

eve::Result< float > eve::physics::box3d::WorldBackend::getMaximumLinearSpeed ( ) const
overridevirtual

getMaximumLinearSpeed; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 236 行定义.

引用了 eve::Result< T >::success().

◆ getMemoryByteCount()

eve::Result< int > eve::physics::box3d::WorldBackend::getMemoryByteCount ( ) const
overridevirtual

getMemoryByteCount; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 425 行定义.

引用了 eve::Result< T >::success().

◆ getProfileBulletsMs()

eve::Result< float > eve::physics::box3d::WorldBackend::getProfileBulletsMs ( ) const
overridevirtual

getProfileBulletsMs; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 467 行定义.

引用了 eve::Result< T >::success().

◆ getProfileCollideMs()

eve::Result< float > eve::physics::box3d::WorldBackend::getProfileCollideMs ( ) const
overridevirtual

getProfileCollideMs; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 453 行定义.

引用了 eve::Result< T >::success().

◆ getProfilePairsMs()

eve::Result< float > eve::physics::box3d::WorldBackend::getProfilePairsMs ( ) const
overridevirtual

getProfilePairsMs; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 446 行定义.

引用了 eve::Result< T >::success().

◆ getProfileSensorsMs()

eve::Result< float > eve::physics::box3d::WorldBackend::getProfileSensorsMs ( ) const
overridevirtual

getProfileSensorsMs; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 474 行定义.

引用了 eve::Result< T >::success().

◆ getProfileSolveMs()

eve::Result< float > eve::physics::box3d::WorldBackend::getProfileSolveMs ( ) const
overridevirtual

getProfileSolveMs; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 460 行定义.

引用了 eve::Result< T >::success().

◆ getProfileStepMs()

eve::Result< float > eve::physics::box3d::WorldBackend::getProfileStepMs ( ) const
overridevirtual

getProfileStepMs; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 439 行定义.

引用了 eve::Result< T >::success().

◆ getRecycledContactCount()

eve::Result< int > eve::physics::box3d::WorldBackend::getRecycledContactCount ( ) const
overridevirtual

getRecycledContactCount; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 402 行定义.

引用了 eve::Result< T >::success().

◆ getRestitutionThreshold()

eve::Result< float > eve::physics::box3d::WorldBackend::getRestitutionThreshold ( ) const
overridevirtual

getRestitutionThreshold; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 172 行定义.

引用了 eve::Result< T >::success().

◆ getShapeCount()

eve::Result< int > eve::physics::box3d::WorldBackend::getShapeCount ( ) const
overridevirtual

getShapeCount; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 367 行定义.

引用了 eve::Result< T >::success().

◆ getStaticTreeHeight()

eve::Result< int > eve::physics::box3d::WorldBackend::getStaticTreeHeight ( ) const
overridevirtual

getStaticTreeHeight; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 411 行定义.

引用了 eve::Result< T >::success().

◆ isContinuousCollisionEnabled()

eve::Result< bool > eve::physics::box3d::WorldBackend::isContinuousCollisionEnabled ( ) const
overridevirtual

isContinuousCollisionEnabled; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 150 行定义.

引用了 eve::Result< T >::success().

◆ isValid()

bool eve::physics::box3d::WorldBackend::isValid ( ) const
overridevirtualnoexcept

◆ isWarmStartingEnabled()

eve::Result< bool > eve::physics::box3d::WorldBackend::isWarmStartingEnabled ( ) const
overridevirtual

isWarmStartingEnabled; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 254 行定义.

引用了 eve::Result< T >::success().

◆ moveCapsule()

eve::Result< bool > eve::physics::box3d::WorldBackend::moveCapsule ( float  ax,
float  ay,
float  az,
float  bx,
float  by,
float  bz,
float  radius,
float  dx,
float  dy,
float  dz 
)
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()

eve::Result< CapsuleMove3D > eve::physics::box3d::WorldBackend::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 
)
overridevirtual

moveCapsuleOwned; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldMover.cpp 第 209 行定义.

引用了 dx, dy, dz, filter , 以及 radius.

◆ newDistanceJoint()

eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::box3d::WorldBackend::newDistanceJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  anchorAX,
float  anchorAY,
float  anchorAZ,
float  anchorBX,
float  anchorBY,
float  anchorBZ,
float  length,
bool  collideConnected 
)
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()

eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::box3d::WorldBackend::newFilterJoint ( Body3D &  bodyA,
Body3D &  bodyB 
)
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()

eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::box3d::WorldBackend::newMotorJoint ( Body3D &  bodyA,
Body3D &  bodyB,
bool  collideConnected 
)
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()

eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::box3d::WorldBackend::newParallelJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  axisX,
float  axisY,
float  axisZ,
bool  collideConnected 
)
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()

eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::box3d::WorldBackend::newPrismaticJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  anchorX,
float  anchorY,
float  anchorZ,
float  axisX,
float  axisY,
float  axisZ,
bool  collideConnected 
)
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()

eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::box3d::WorldBackend::newRevoluteJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  anchorX,
float  anchorY,
float  anchorZ,
float  axisX,
float  axisY,
float  axisZ,
bool  collideConnected 
)
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()

eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::box3d::WorldBackend::newSphericalJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  anchorX,
float  anchorY,
float  anchorZ,
float  axisX,
float  axisY,
float  axisZ,
bool  collideConnected 
)
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()

eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::box3d::WorldBackend::newWeldJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  anchorX,
float  anchorY,
float  anchorZ,
bool  collideConnected 
)
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()

eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::box3d::WorldBackend::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 
)
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()

eve::Result< ClothContact3D > eve::physics::box3d::WorldBackend::pointProbeFiltered ( float  x,
float  y,
float  z,
float  radius,
uint64_t  categoryBits,
uint64_t  maskBits 
) const
overridevirtual

pointProbeFiltered; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldMover.cpp 第 252 行定义.

引用了 hit, radius, eve::Result< T >::success(), x, y , 以及 z.

◆ queryAABB()

eve::Result< int > eve::physics::box3d::WorldBackend::queryAABB ( float  minX,
float  minY,
float  minZ,
float  maxX,
float  maxY,
float  maxZ 
)
overridevirtual

queryAABB; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldQueries.cpp 第 281 行定义.

引用了 eve::Result< T >::success().

◆ queryAabbBroadPhaseOwned()

eve::Result< BroadPhaseAabb3D > eve::physics::box3d::WorldBackend::queryAabbBroadPhaseOwned ( float  minX,
float  minY,
float  minZ,
float  maxX,
float  maxY,
float  maxZ,
QueryFilter3D  filter 
)
overridevirtual

queryAabbBroadPhaseOwned; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldQueries.cpp 第 337 行定义.

引用了 filter.

◆ queryBodyContactsOwned()

eve::Result< BodyContacts3D > eve::physics::box3d::WorldBackend::queryBodyContactsOwned ( PhysicsBodyHandle  body,
int  maxPoints 
) const
overridevirtual

queryBodyContactsOwned; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldContacts.cpp 第 94 行定义.

引用了 body.

◆ queryBox()

eve::Result< int > eve::physics::box3d::WorldBackend::queryBox ( float  x,
float  y,
float  z,
float  width,
float  height,
float  depth,
float  qx,
float  qy,
float  qz,
float  qw 
)
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()

eve::Result< int > eve::physics::box3d::WorldBackend::queryCapsule ( float  ax,
float  ay,
float  az,
float  bx,
float  by,
float  bz,
float  radius 
)
overridevirtual

queryCapsule; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldQueries.cpp 第 399 行定义.

引用了 radius , 以及 eve::Result< T >::success().

◆ queryCapsuleOwned()

eve::Result< CapsuleOverlap3D > eve::physics::box3d::WorldBackend::queryCapsuleOwned ( float  ax,
float  ay,
float  az,
float  bx,
float  by,
float  bz,
float  radius,
QueryFilter3D  filter 
)
overridevirtual

queryCapsuleOwned; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldQueries.cpp 第 445 行定义.

引用了 filter , 以及 radius.

◆ querySphere()

eve::Result< int > eve::physics::box3d::WorldBackend::querySphere ( float  x,
float  y,
float  z,
float  radius 
)
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()

eve::Result< int > eve::physics::box3d::WorldBackend::rayCastAll ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
int  maxHits 
)
overridevirtual

rayCastAll; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldQueries.cpp 第 148 行定义.

引用了 eve::Result< T >::success().

◆ rayCastFiltered()

eve::Result< int > eve::physics::box3d::WorldBackend::rayCastFiltered ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
uint64_t  maskBits 
)
overridevirtual

rayCastFiltered; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldQueries.cpp 第 74 行定义.

引用了 eve::Result< T >::success().

◆ rayCastOwned()

eve::Result< RayHit3D > eve::physics::box3d::WorldBackend::rayCastOwned ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
QueryFilter3D  filter 
)
overridevirtual

rayCastOwned; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldQueries.cpp 第 139 行定义.

引用了 filter.

◆ selectSimulation()

eve::Result< SimulationBackendSelection > eve::physics::box3d::WorldBackend::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()

eve::Result< void > eve::physics::box3d::WorldBackend::setContactRecycleDistance ( float  distance)
overridevirtual

setContactRecycleDistance; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 203 行定义.

引用了 distance , 以及 eve::Result< T >::success().

◆ setContactTuning()

eve::Result< void > eve::physics::box3d::WorldBackend::setContactTuning ( float  hertz,
float  dampingRatio,
float  pushOutSpeed 
)
overridevirtual

setContactTuning; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 190 行定义.

引用了 dampingRatio , 以及 eve::Result< T >::success().

◆ setContinuousCollisionEnabled()

eve::Result< void > eve::physics::box3d::WorldBackend::setContinuousCollisionEnabled ( bool  enabled)
overridevirtual

setContinuousCollisionEnabled; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 139 行定义.

引用了 enabled , 以及 eve::Result< T >::success().

◆ setGravity()

eve::Result< void > eve::physics::box3d::WorldBackend::setGravity ( float  gx,
float  gy,
float  gz 
)
overridevirtual

setGravity; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 484 行定义.

引用了 eve::Result< T >::success().

◆ setHitEventThreshold()

eve::Result< void > eve::physics::box3d::WorldBackend::setHitEventThreshold ( float  speed)
overridevirtual

setHitEventThreshold; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 524 行定义.

引用了 eve::Result< T >::success().

◆ setMaximumLinearSpeed()

eve::Result< void > eve::physics::box3d::WorldBackend::setMaximumLinearSpeed ( float  speed)
overridevirtual

setMaximumLinearSpeed; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 225 行定义.

引用了 eve::Result< T >::success().

◆ setMoverUp()

eve::Result< void > eve::physics::box3d::WorldBackend::setMoverUp ( float  x,
float  y,
float  z 
)
overridevirtual

setMoverUp; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldMover.cpp 第 23 行定义.

引用了 eve::Result< T >::success(), x, y , 以及 z.

◆ setRestitutionThreshold()

eve::Result< void > eve::physics::box3d::WorldBackend::setRestitutionThreshold ( float  speed)
overridevirtual

setRestitutionThreshold; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 161 行定义.

引用了 eve::Result< T >::success().

◆ setWarmStartingEnabled()

eve::Result< void > eve::physics::box3d::WorldBackend::setWarmStartingEnabled ( bool  enabled)
overridevirtual

setWarmStartingEnabled; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorld.cpp 第 245 行定义.

引用了 enabled , 以及 eve::Result< T >::success().

◆ shapeKey()

uint64_t eve::physics::box3d::WorldBackend::shapeKey ( const Shape3D &  shape) const
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()

eve::Result< CameraSphereHit3D > eve::physics::box3d::WorldBackend::sphereCast ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
float  radius,
uint64_t  maskBits,
int  ignoredBodyId 
) const
overridevirtual

sphereCast; uses the class ownership, thread and failure contract.

实现了 eve::physics::IWorldBackend3D.

在文件 Box3DWorldQueries.cpp 第 58 行定义.

引用了 hit, radius , 以及 eve::Result< T >::success().

◆ swapTopology()

eve::Result< void > eve::physics::box3d::WorldBackend::swapTopology ( IWorldBackend3D &  prepared)
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 struct Access
friend

在文件 Box3DWorld.h 第 8 行定义.


该类的文档由以下文件生成: