载入中...
搜索中...
未找到
eve::physics::IWorldBackend3D类 参考abstract

Complete rigid-world execution boundary, bound once to an owning World3D facade. @ownership Owns exactly one native world; child backends own native children of that world. The facade remains sole owner of engine identity, portable topology, query projections and event queues. @thread Simulation thread only between steps. Native callbacks are internal predicates; public events are collected first and published by the facade after returning from the solver. @lifetime Owning query results survive later queries. Legacy query projections live in the facade. 更多...

#include <WorldBackend3D.h>

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

Public 成员函数

virtual eve::Result< std::unique_ptr< IJointBackend3D > > newWeldJoint (Body3D &bodyA, Body3D &bodyB, float anchorX, float anchorY, float anchorZ, bool collideConnected)=0
 Creates an owning Weld constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
 
virtual eve::Result< std::unique_ptr< IJointBackend3D > > newMotorJoint (Body3D &bodyA, Body3D &bodyB, bool collideConnected)=0
 Creates an owning Motor constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
 
virtual eve::Result< std::unique_ptr< IJointBackend3D > > newParallelJoint (Body3D &bodyA, Body3D &bodyB, float axisX, float axisY, float axisZ, bool collideConnected)=0
 Creates an owning Parallel constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
 
virtual eve::Result< std::unique_ptr< IJointBackend3D > > newFilterJoint (Body3D &bodyA, Body3D &bodyB)=0
 Creates an owning Filter constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
 
virtual 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)=0
 Creates an owning Distance constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
 
virtual 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)=0
 Creates an owning Revolute constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
 
virtual 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)=0
 Creates an owning Prismatic constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
 
virtual 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)=0
 Creates an owning Spherical constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
 
virtual 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)=0
 Creates an owning Wheel constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.
 
virtual ~IWorldBackend3D ()=default
 
virtual bool isValid () const noexcept=0
 Native world liveness.
 
virtual void destroy () noexcept=0
 Idempotent native teardown after all facades have been invalidated.
 
virtual eve::Result< SimulationBackendSelection > selectSimulation ()=0
 Builds the separate CPU/accelerator step driver; driver borrows this world's stable state.
 
virtual eve::Result< void > swapTopology (IWorldBackend3D &prepared)=0
 Swaps prepared native topology while retaining stable step-driver contexts.
 
virtual uint64_t shapeKey (const Shape3D &shape) const =0
 Opaque native lookup key scoped to this world, used only by internal event history.
 
virtual eve::Result< void > collectEvents ()=0
 Collects solver events into the owner's queues without publishing callbacks.
 
virtual eve::Result< std::unique_ptr< IBodyBackend3D > > createBody (std::string_view type, float x, float y, float z)=0
 Creates an owning body backend without publishing an engine wrapper. @cost One native body allocation per topology addition.
 
virtual eve::Result< void > setContinuousCollisionEnabled (bool enabled)=0
 setContinuousCollisionEnabled; uses the class ownership, thread and failure contract.
 
virtual eve::Result< bool > isContinuousCollisionEnabled () const =0
 isContinuousCollisionEnabled; uses the class ownership, thread and failure contract.
 
virtual eve::Result< void > setRestitutionThreshold (float speed)=0
 setRestitutionThreshold; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getRestitutionThreshold () const =0
 getRestitutionThreshold; uses the class ownership, thread and failure contract.
 
virtual eve::Result< void > setContactTuning (float hertz, float dampingRatio, float pushOutSpeed)=0
 setContactTuning; uses the class ownership, thread and failure contract.
 
virtual eve::Result< void > setContactRecycleDistance (float distance)=0
 setContactRecycleDistance; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getContactRecycleDistance () const =0
 getContactRecycleDistance; uses the class ownership, thread and failure contract.
 
virtual eve::Result< void > setMaximumLinearSpeed (float speed)=0
 setMaximumLinearSpeed; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getMaximumLinearSpeed () const =0
 getMaximumLinearSpeed; uses the class ownership, thread and failure contract.
 
virtual eve::Result< void > setWarmStartingEnabled (bool enabled)=0
 setWarmStartingEnabled; uses the class ownership, thread and failure contract.
 
virtual eve::Result< bool > isWarmStartingEnabled () const =0
 isWarmStartingEnabled; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > explode (float x, float y, float z, float radius, float falloff, float impulsePerArea, int maskBits)=0
 explode; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getBoundsMinX () const =0
 getBoundsMinX; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getBoundsMinY () const =0
 getBoundsMinY; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getBoundsMinZ () const =0
 getBoundsMinZ; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getBoundsMaxX () const =0
 getBoundsMaxX; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getBoundsMaxY () const =0
 getBoundsMaxY; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getBoundsMaxZ () const =0
 getBoundsMaxZ; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > getBodyCount () const =0
 getBodyCount; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > getShapeCount () const =0
 getShapeCount; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > getContactCount () const =0
 getContactCount; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > getJointCount () const =0
 getJointCount; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > getIslandCount () const =0
 getIslandCount; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > getAwakeContactCount () const =0
 getAwakeContactCount; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > getRecycledContactCount () const =0
 getRecycledContactCount; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > getStaticTreeHeight () const =0
 getStaticTreeHeight; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > getDynamicTreeHeight () const =0
 getDynamicTreeHeight; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > getMemoryByteCount () const =0
 getMemoryByteCount; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > getAwakeBodyCount () const =0
 getAwakeBodyCount; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getProfileStepMs () const =0
 getProfileStepMs; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getProfilePairsMs () const =0
 getProfilePairsMs; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getProfileCollideMs () const =0
 getProfileCollideMs; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getProfileSolveMs () const =0
 getProfileSolveMs; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getProfileBulletsMs () const =0
 getProfileBulletsMs; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getProfileSensorsMs () const =0
 getProfileSensorsMs; uses the class ownership, thread and failure contract.
 
virtual eve::Result< void > setGravity (float gx, float gy, float gz)=0
 setGravity; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getGravityX () const =0
 getGravityX; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getGravityY () const =0
 getGravityY; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getGravityZ () const =0
 getGravityZ; uses the class ownership, thread and failure contract.
 
virtual eve::Result< void > setHitEventThreshold (float speed)=0
 setHitEventThreshold; uses the class ownership, thread and failure contract.
 
virtual eve::Result< float > getHitEventThreshold () const =0
 getHitEventThreshold; uses the class ownership, thread and failure contract.
 
virtual eve::Result< CameraSphereHit3D > sphereCast (float x1, float y1, float z1, float x2, float y2, float z2, float radius, uint64_t maskBits, int ignoredBodyId) const =0
 sphereCast; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > rayCastFiltered (float x1, float y1, float z1, float x2, float y2, float z2, uint64_t maskBits)=0
 rayCastFiltered; uses the class ownership, thread and failure contract.
 
virtual eve::Result< RayHit3D > rayCastOwned (float x1, float y1, float z1, float x2, float y2, float z2, QueryFilter3D filter)=0
 rayCastOwned; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > rayCastAll (float x1, float y1, float z1, float x2, float y2, float z2, int maxHits)=0
 rayCastAll; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > queryAABB (float minX, float minY, float minZ, float maxX, float maxY, float maxZ)=0
 queryAABB; uses the class ownership, thread and failure contract.
 
virtual eve::Result< BroadPhaseAabb3D > queryAabbBroadPhaseOwned (float minX, float minY, float minZ, float maxX, float maxY, float maxZ, QueryFilter3D filter)=0
 queryAabbBroadPhaseOwned; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > querySphere (float x, float y, float z, float radius)=0
 querySphere; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > queryCapsule (float ax, float ay, float az, float bx, float by, float bz, float radius)=0
 queryCapsule; uses the class ownership, thread and failure contract.
 
virtual eve::Result< CapsuleOverlap3D > queryCapsuleOwned (float ax, float ay, float az, float bx, float by, float bz, float radius, QueryFilter3D filter)=0
 queryCapsuleOwned; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > queryBox (float x, float y, float z, float width, float height, float depth, float qx, float qy, float qz, float qw)=0
 queryBox; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > castSphereAll (float x, float y, float z, float radius, float dx, float dy, float dz, int maxHits)=0
 castSphereAll; uses the class ownership, thread and failure contract.
 
virtual 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)=0
 castCapsuleAll; uses the class ownership, thread and failure contract.
 
virtual 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)=0
 castBoxAll; uses the class ownership, thread and failure contract.
 
virtual eve::Result< int > closestPoint (float x, float y, float z, float maxDistance)=0
 closestPoint; uses the class ownership, thread and failure contract.
 
virtual eve::Result< void > setMoverUp (float x, float y, float z)=0
 setMoverUp; uses the class ownership, thread and failure contract.
 
virtual eve::Result< bool > moveCapsule (float ax, float ay, float az, float bx, float by, float bz, float radius, float dx, float dy, float dz)=0
 moveCapsule; uses the class ownership, thread and failure contract.
 
virtual 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)=0
 moveCapsuleOwned; uses the class ownership, thread and failure contract.
 
virtual eve::Result< ClothContact3D > pointProbeFiltered (float x, float y, float z, float radius, uint64_t categoryBits, uint64_t maskBits) const =0
 pointProbeFiltered; uses the class ownership, thread and failure contract.
 
virtual eve::Result< BodyContacts3D > queryBodyContactsOwned (PhysicsBodyHandle body, int maxPoints) const =0
 queryBodyContactsOwned; uses the class ownership, thread and failure contract.
 

详细描述

Complete rigid-world execution boundary, bound once to an owning World3D facade. @ownership Owns exactly one native world; child backends own native children of that world. The facade remains sole owner of engine identity, portable topology, query projections and event queues. @thread Simulation thread only between steps. Native callbacks are internal predicates; public events are collected first and published by the facade after returning from the solver. @lifetime Owning query results survive later queries. Legacy query projections live in the facade.

备注
Unsupported operations must return Unsupported before mutation; no hidden alternate solver.

在文件 WorldBackend3D.h 第 24 行定义.

构造及析构函数说明

◆ ~IWorldBackend3D()

virtual eve::physics::IWorldBackend3D::~IWorldBackend3D ( )
virtualdefault

成员函数说明

◆ castBoxAll()

virtual eve::Result< int > eve::physics::IWorldBackend3D::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 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ castCapsuleAll()

virtual eve::Result< int > eve::physics::IWorldBackend3D::castCapsuleAll ( float  ax,
float  ay,
float  az,
float  bx,
float  by,
float  bz,
float  radius,
float  dx,
float  dy,
float  dz,
int  maxHits 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ castSphereAll()

virtual eve::Result< int > eve::physics::IWorldBackend3D::castSphereAll ( float  x,
float  y,
float  z,
float  radius,
float  dx,
float  dy,
float  dz,
int  maxHits 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ closestPoint()

virtual eve::Result< int > eve::physics::IWorldBackend3D::closestPoint ( float  x,
float  y,
float  z,
float  maxDistance 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ collectEvents()

virtual eve::Result< void > eve::physics::IWorldBackend3D::collectEvents ( )
pure virtual

Collects solver events into the owner's queues without publishing callbacks.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ createBody()

virtual eve::Result< std::unique_ptr< IBodyBackend3D > > eve::physics::IWorldBackend3D::createBody ( std::string_view  type,
float  x,
float  y,
float  z 
)
pure virtual

Creates an owning body backend without publishing an engine wrapper. @cost One native body allocation per topology addition.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ destroy()

virtual void eve::physics::IWorldBackend3D::destroy ( )
pure virtualnoexcept

Idempotent native teardown after all facades have been invalidated.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ explode()

virtual eve::Result< int > eve::physics::IWorldBackend3D::explode ( float  x,
float  y,
float  z,
float  radius,
float  falloff,
float  impulsePerArea,
int  maskBits 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getAwakeBodyCount()

virtual eve::Result< int > eve::physics::IWorldBackend3D::getAwakeBodyCount ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getAwakeContactCount()

virtual eve::Result< int > eve::physics::IWorldBackend3D::getAwakeContactCount ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getBodyCount()

virtual eve::Result< int > eve::physics::IWorldBackend3D::getBodyCount ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getBoundsMaxX()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getBoundsMaxX ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getBoundsMaxY()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getBoundsMaxY ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getBoundsMaxZ()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getBoundsMaxZ ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getBoundsMinX()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getBoundsMinX ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getBoundsMinY()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getBoundsMinY ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getBoundsMinZ()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getBoundsMinZ ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getContactCount()

virtual eve::Result< int > eve::physics::IWorldBackend3D::getContactCount ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getContactRecycleDistance()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getContactRecycleDistance ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getDynamicTreeHeight()

virtual eve::Result< int > eve::physics::IWorldBackend3D::getDynamicTreeHeight ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getGravityX()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getGravityX ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getGravityY()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getGravityY ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getGravityZ()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getGravityZ ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getHitEventThreshold()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getHitEventThreshold ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getIslandCount()

virtual eve::Result< int > eve::physics::IWorldBackend3D::getIslandCount ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getJointCount()

virtual eve::Result< int > eve::physics::IWorldBackend3D::getJointCount ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getMaximumLinearSpeed()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getMaximumLinearSpeed ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getMemoryByteCount()

virtual eve::Result< int > eve::physics::IWorldBackend3D::getMemoryByteCount ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getProfileBulletsMs()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getProfileBulletsMs ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getProfileCollideMs()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getProfileCollideMs ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getProfilePairsMs()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getProfilePairsMs ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getProfileSensorsMs()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getProfileSensorsMs ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getProfileSolveMs()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getProfileSolveMs ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getProfileStepMs()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getProfileStepMs ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getRecycledContactCount()

virtual eve::Result< int > eve::physics::IWorldBackend3D::getRecycledContactCount ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getRestitutionThreshold()

virtual eve::Result< float > eve::physics::IWorldBackend3D::getRestitutionThreshold ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getShapeCount()

virtual eve::Result< int > eve::physics::IWorldBackend3D::getShapeCount ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ getStaticTreeHeight()

virtual eve::Result< int > eve::physics::IWorldBackend3D::getStaticTreeHeight ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ isContinuousCollisionEnabled()

virtual eve::Result< bool > eve::physics::IWorldBackend3D::isContinuousCollisionEnabled ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ isValid()

virtual bool eve::physics::IWorldBackend3D::isValid ( ) const
pure virtualnoexcept

Native world liveness.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ isWarmStartingEnabled()

virtual eve::Result< bool > eve::physics::IWorldBackend3D::isWarmStartingEnabled ( ) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ moveCapsule()

virtual eve::Result< bool > eve::physics::IWorldBackend3D::moveCapsule ( float  ax,
float  ay,
float  az,
float  bx,
float  by,
float  bz,
float  radius,
float  dx,
float  dy,
float  dz 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ moveCapsuleOwned()

virtual eve::Result< CapsuleMove3D > eve::physics::IWorldBackend3D::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 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ newDistanceJoint()

virtual eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::IWorldBackend3D::newDistanceJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  anchorAX,
float  anchorAY,
float  anchorAZ,
float  anchorBX,
float  anchorBY,
float  anchorBZ,
float  length,
bool  collideConnected 
)
pure virtual

Creates an owning Distance constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ newFilterJoint()

virtual eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::IWorldBackend3D::newFilterJoint ( Body3D &  bodyA,
Body3D &  bodyB 
)
pure virtual

Creates an owning Filter constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ newMotorJoint()

virtual eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::IWorldBackend3D::newMotorJoint ( Body3D &  bodyA,
Body3D &  bodyB,
bool  collideConnected 
)
pure virtual

Creates an owning Motor constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ newParallelJoint()

virtual eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::IWorldBackend3D::newParallelJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  axisX,
float  axisY,
float  axisZ,
bool  collideConnected 
)
pure virtual

Creates an owning Parallel constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ newPrismaticJoint()

virtual eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::IWorldBackend3D::newPrismaticJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  anchorX,
float  anchorY,
float  anchorZ,
float  axisX,
float  axisY,
float  axisZ,
bool  collideConnected 
)
pure virtual

Creates an owning Prismatic constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ newRevoluteJoint()

virtual eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::IWorldBackend3D::newRevoluteJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  anchorX,
float  anchorY,
float  anchorZ,
float  axisX,
float  axisY,
float  axisZ,
bool  collideConnected 
)
pure virtual

Creates an owning Revolute constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ newSphericalJoint()

virtual eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::IWorldBackend3D::newSphericalJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  anchorX,
float  anchorY,
float  anchorZ,
float  axisX,
float  axisY,
float  axisZ,
bool  collideConnected 
)
pure virtual

Creates an owning Spherical constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ newWeldJoint()

virtual eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::IWorldBackend3D::newWeldJoint ( Body3D &  bodyA,
Body3D &  bodyB,
float  anchorX,
float  anchorY,
float  anchorZ,
bool  collideConnected 
)
pure virtual

Creates an owning Weld constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ newWheelJoint()

virtual eve::Result< std::unique_ptr< IJointBackend3D > > eve::physics::IWorldBackend3D::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 
)
pure virtual

Creates an owning Wheel constraint; bodies are synchronous non-owning inputs. @cost One native constraint allocation per topology addition; no callbacks.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ pointProbeFiltered()

virtual eve::Result< ClothContact3D > eve::physics::IWorldBackend3D::pointProbeFiltered ( float  x,
float  y,
float  z,
float  radius,
uint64_t  categoryBits,
uint64_t  maskBits 
) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ queryAABB()

virtual eve::Result< int > eve::physics::IWorldBackend3D::queryAABB ( float  minX,
float  minY,
float  minZ,
float  maxX,
float  maxY,
float  maxZ 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ queryAabbBroadPhaseOwned()

virtual eve::Result< BroadPhaseAabb3D > eve::physics::IWorldBackend3D::queryAabbBroadPhaseOwned ( float  minX,
float  minY,
float  minZ,
float  maxX,
float  maxY,
float  maxZ,
QueryFilter3D  filter 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ queryBodyContactsOwned()

virtual eve::Result< BodyContacts3D > eve::physics::IWorldBackend3D::queryBodyContactsOwned ( PhysicsBodyHandle  body,
int  maxPoints 
) const
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ queryBox()

virtual eve::Result< int > eve::physics::IWorldBackend3D::queryBox ( float  x,
float  y,
float  z,
float  width,
float  height,
float  depth,
float  qx,
float  qy,
float  qz,
float  qw 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ queryCapsule()

virtual eve::Result< int > eve::physics::IWorldBackend3D::queryCapsule ( float  ax,
float  ay,
float  az,
float  bx,
float  by,
float  bz,
float  radius 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ queryCapsuleOwned()

virtual eve::Result< CapsuleOverlap3D > eve::physics::IWorldBackend3D::queryCapsuleOwned ( float  ax,
float  ay,
float  az,
float  bx,
float  by,
float  bz,
float  radius,
QueryFilter3D  filter 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ querySphere()

virtual eve::Result< int > eve::physics::IWorldBackend3D::querySphere ( float  x,
float  y,
float  z,
float  radius 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ rayCastAll()

virtual eve::Result< int > eve::physics::IWorldBackend3D::rayCastAll ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
int  maxHits 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ rayCastFiltered()

virtual eve::Result< int > eve::physics::IWorldBackend3D::rayCastFiltered ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
uint64_t  maskBits 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ rayCastOwned()

virtual eve::Result< RayHit3D > eve::physics::IWorldBackend3D::rayCastOwned ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
QueryFilter3D  filter 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ selectSimulation()

virtual eve::Result< SimulationBackendSelection > eve::physics::IWorldBackend3D::selectSimulation ( )
pure virtual

Builds the separate CPU/accelerator step driver; driver borrows this world's stable state.

返回
Owning selection with explicit accelerator absence/failure evidence.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ setContactRecycleDistance()

virtual eve::Result< void > eve::physics::IWorldBackend3D::setContactRecycleDistance ( float  distance)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ setContactTuning()

virtual eve::Result< void > eve::physics::IWorldBackend3D::setContactTuning ( float  hertz,
float  dampingRatio,
float  pushOutSpeed 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ setContinuousCollisionEnabled()

virtual eve::Result< void > eve::physics::IWorldBackend3D::setContinuousCollisionEnabled ( bool  enabled)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ setGravity()

virtual eve::Result< void > eve::physics::IWorldBackend3D::setGravity ( float  gx,
float  gy,
float  gz 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ setHitEventThreshold()

virtual eve::Result< void > eve::physics::IWorldBackend3D::setHitEventThreshold ( float  speed)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ setMaximumLinearSpeed()

virtual eve::Result< void > eve::physics::IWorldBackend3D::setMaximumLinearSpeed ( float  speed)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ setMoverUp()

virtual eve::Result< void > eve::physics::IWorldBackend3D::setMoverUp ( float  x,
float  y,
float  z 
)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ setRestitutionThreshold()

virtual eve::Result< void > eve::physics::IWorldBackend3D::setRestitutionThreshold ( float  speed)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ setWarmStartingEnabled()

virtual eve::Result< void > eve::physics::IWorldBackend3D::setWarmStartingEnabled ( bool  enabled)
pure virtual

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ shapeKey()

virtual uint64_t eve::physics::IWorldBackend3D::shapeKey ( const Shape3D &  shape) const
pure virtual

Opaque native lookup key scoped to this world, used only by internal event history.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ sphereCast()

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

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

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.

◆ swapTopology()

virtual eve::Result< void > eve::physics::IWorldBackend3D::swapTopology ( IWorldBackend3D &  prepared)
pure virtual

Swaps prepared native topology while retaining stable step-driver contexts.

备注
Both worlds must have the same implementation; failure leaves both unchanged.

在 eve::physics::box3d::WorldBackend , 以及 eve::physics::jolt::WorldBackend 内被实现.


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