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

#include <JoltBody.h>

类 eve::physics::jolt::BodyBackend 继承关系图:
eve::physics::IBodyBackend3D

Public 成员函数

 BodyBackend (std::shared_ptr< BodyState > value)
 
 ~BodyBackend () override
 
eve::Result< std::unique_ptr< IShapeBackend3D > > createShape (const ShapeGeometry3D &geometry, float density, float friction, float restitution) override
 Creates and owns one shape for this body; no input references are retained. @cost One geometry cook per creation; call during topology changes, not during solver traversal.
 
void bindOwner (Body3D &owner) noexcept override
 Binds its exclusive facade owner for internal attribution, on the simulation thread. @ownership Borrowed owner remains alive until invalidate; no external callbacks are invoked.
 
bool isValid () const noexcept override
 Whether the native body remains alive.
 
void destroy () noexcept override
 Releases the native body idempotently without callbacks; children must be detached first.
 
void invalidate () noexcept override
 Detaches before its parent world destroys the native body.
 
eve::Result< void > setPosition (float x, float y, float z) override
 setPosition; inherits the class lifetime and failure contract.
 
eve::Result< float > getX () const override
 getX; inherits the class lifetime and failure contract.
 
eve::Result< float > getY () const override
 getY; inherits the class lifetime and failure contract.
 
eve::Result< float > getZ () const override
 getZ; inherits the class lifetime and failure contract.
 
eve::Result< void > setRotation (float qx, float qy, float qz, float qw) override
 setRotation; inherits the class lifetime and failure contract.
 
eve::Result< float > getRotX () const override
 getRotX; inherits the class lifetime and failure contract.
 
eve::Result< float > getRotY () const override
 getRotY; inherits the class lifetime and failure contract.
 
eve::Result< float > getRotZ () const override
 getRotZ; inherits the class lifetime and failure contract.
 
eve::Result< float > getRotW () const override
 getRotW; inherits the class lifetime and failure contract.
 
eve::Result< void > setLinearVelocity (float vx, float vy, float vz) override
 setLinearVelocity; inherits the class lifetime and failure contract.
 
eve::Result< float > getLinearVelocityX () const override
 getLinearVelocityX; inherits the class lifetime and failure contract.
 
eve::Result< float > getLinearVelocityY () const override
 getLinearVelocityY; inherits the class lifetime and failure contract.
 
eve::Result< float > getLinearVelocityZ () const override
 getLinearVelocityZ; inherits the class lifetime and failure contract.
 
eve::Result< float > getMass () const override
 getMass; inherits the class lifetime and failure contract.
 
eve::Result< void > setAngularVelocity (float wx, float wy, float wz) override
 setAngularVelocity; inherits the class lifetime and failure contract.
 
eve::Result< float > getAngularVelocityX () const override
 getAngularVelocityX; inherits the class lifetime and failure contract.
 
eve::Result< float > getAngularVelocityY () const override
 getAngularVelocityY; inherits the class lifetime and failure contract.
 
eve::Result< float > getAngularVelocityZ () const override
 getAngularVelocityZ; inherits the class lifetime and failure contract.
 
eve::Result< std::vector< float > > localToWorldPoint (float x, float y, float z) const override
 localToWorldPoint; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.
 
eve::Result< PhysicsVector3D > localToWorldPointOwned (float x, float y, float z) const override
 localToWorldPointOwned; inherits the class lifetime and failure contract.
 
eve::Result< std::vector< float > > worldToLocalPoint (float x, float y, float z) const override
 worldToLocalPoint; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.
 
eve::Result< PhysicsVector3D > worldToLocalPointOwned (float x, float y, float z) const override
 worldToLocalPointOwned; inherits the class lifetime and failure contract.
 
eve::Result< std::vector< float > > localToWorldVector (float x, float y, float z) const override
 localToWorldVector; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.
 
eve::Result< PhysicsVector3D > localToWorldVectorOwned (float x, float y, float z) const override
 localToWorldVectorOwned; inherits the class lifetime and failure contract.
 
eve::Result< std::vector< float > > worldToLocalVector (float x, float y, float z) const override
 worldToLocalVector; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.
 
eve::Result< std::vector< float > > getLocalPointVelocity (float x, float y, float z) const override
 getLocalPointVelocity; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.
 
eve::Result< PhysicsVector3D > getLocalPointVelocityOwned (float x, float y, float z) const override
 getLocalPointVelocityOwned; inherits the class lifetime and failure contract.
 
eve::Result< std::vector< float > > getWorldPointVelocity (float x, float y, float z) const override
 getWorldPointVelocity; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.
 
eve::Result< void > applyForce (float fx, float fy, float fz) override
 applyForce; inherits the class lifetime and failure contract.
 
eve::Result< void > applyForceAt (float fx, float fy, float fz, float x, float y, float z) override
 applyForceAt; inherits the class lifetime and failure contract.
 
eve::Result< void > applyTorque (float tx, float ty, float tz) override
 applyTorque; inherits the class lifetime and failure contract.
 
eve::Result< void > applyLinearImpulse (float ix, float iy, float iz) override
 applyLinearImpulse; inherits the class lifetime and failure contract.
 
eve::Result< void > applyLinearImpulseAt (float ix, float iy, float iz, float x, float y, float z) override
 applyLinearImpulseAt; inherits the class lifetime and failure contract.
 
eve::Result< void > applyAngularImpulse (float ix, float iy, float iz) override
 applyAngularImpulse; inherits the class lifetime and failure contract.
 
eve::Result< void > applyLocalForce (float fx, float fy, float fz, float x, float y, float z) override
 applyLocalForce; inherits the class lifetime and failure contract.
 
eve::Result< void > applyLocalForceToCenter (float fx, float fy, float fz) override
 applyLocalForceToCenter; inherits the class lifetime and failure contract.
 
eve::Result< void > applyLocalTorque (float tx, float ty, float tz) override
 applyLocalTorque; inherits the class lifetime and failure contract.
 
eve::Result< void > applyLocalLinearImpulse (float ix, float iy, float iz, float x, float y, float z) override
 applyLocalLinearImpulse; inherits the class lifetime and failure contract.
 
eve::Result< void > applyLocalLinearImpulseToCenter (float ix, float iy, float iz) override
 applyLocalLinearImpulseToCenter; inherits the class lifetime and failure contract.
 
eve::Result< void > applyLocalAngularImpulse (float ix, float iy, float iz) override
 applyLocalAngularImpulse; inherits the class lifetime and failure contract.
 
eve::Result< void > setTargetTransform (float x, float y, float z, float qx, float qy, float qz, float qw, float timeStep) override
 setTargetTransform; inherits the class lifetime and failure contract.
 
eve::Result< void > setLinearDamping (float damping) override
 setLinearDamping; inherits the class lifetime and failure contract.
 
eve::Result< float > getLinearDamping () const override
 getLinearDamping; inherits the class lifetime and failure contract.
 
eve::Result< void > setAngularDamping (float damping) override
 setAngularDamping; inherits the class lifetime and failure contract.
 
eve::Result< float > getAngularDamping () const override
 getAngularDamping; inherits the class lifetime and failure contract.
 
eve::Result< void > setGravityScale (float scale) override
 setGravityScale; inherits the class lifetime and failure contract.
 
eve::Result< float > getGravityScale () const override
 getGravityScale; inherits the class lifetime and failure contract.
 
eve::Result< void > setSleepEnabled (bool enabled) override
 setSleepEnabled; inherits the class lifetime and failure contract.
 
eve::Result< bool > isSleepEnabled () const override
 isSleepEnabled; inherits the class lifetime and failure contract.
 
eve::Result< void > setSleepThreshold (float threshold) override
 setSleepThreshold; inherits the class lifetime and failure contract.
 
eve::Result< float > getSleepThreshold () const override
 getSleepThreshold; inherits the class lifetime and failure contract.
 
eve::Result< void > setMotionLocks (bool linearX, bool linearY, bool linearZ, bool angularX, bool angularY, bool angularZ) override
 setMotionLocks; inherits the class lifetime and failure contract.
 
eve::Result< bool > isLinearXLocked () const override
 isLinearXLocked; inherits the class lifetime and failure contract.
 
eve::Result< bool > isLinearYLocked () const override
 isLinearYLocked; inherits the class lifetime and failure contract.
 
eve::Result< bool > isLinearZLocked () const override
 isLinearZLocked; inherits the class lifetime and failure contract.
 
eve::Result< bool > isAngularXLocked () const override
 isAngularXLocked; inherits the class lifetime and failure contract.
 
eve::Result< bool > isAngularYLocked () const override
 isAngularYLocked; inherits the class lifetime and failure contract.
 
eve::Result< bool > isAngularZLocked () const override
 isAngularZLocked; inherits the class lifetime and failure contract.
 
eve::Result< void > setMassProperties (float mass, float centerX, float centerY, float centerZ, float inertiaXX, float inertiaYY, float inertiaZZ, float inertiaXY, float inertiaXZ, float inertiaYZ) override
 setMassProperties; inherits the class lifetime and failure contract.
 
eve::Result< void > resetMassProperties () override
 resetMassProperties; inherits the class lifetime and failure contract.
 
eve::Result< float > getInertiaXX () const override
 getInertiaXX; inherits the class lifetime and failure contract.
 
eve::Result< float > getInertiaYY () const override
 getInertiaYY; inherits the class lifetime and failure contract.
 
eve::Result< float > getInertiaZZ () const override
 getInertiaZZ; inherits the class lifetime and failure contract.
 
eve::Result< float > getInertiaXY () const override
 getInertiaXY; inherits the class lifetime and failure contract.
 
eve::Result< float > getInertiaXZ () const override
 getInertiaXZ; inherits the class lifetime and failure contract.
 
eve::Result< float > getInertiaYZ () const override
 getInertiaYZ; inherits the class lifetime and failure contract.
 
eve::Result< float > getLocalCenterX () const override
 getLocalCenterX; inherits the class lifetime and failure contract.
 
eve::Result< float > getLocalCenterY () const override
 getLocalCenterY; inherits the class lifetime and failure contract.
 
eve::Result< float > getLocalCenterZ () const override
 getLocalCenterZ; inherits the class lifetime and failure contract.
 
eve::Result< float > getWorldCenterX () const override
 getWorldCenterX; inherits the class lifetime and failure contract.
 
eve::Result< float > getWorldCenterY () const override
 getWorldCenterY; inherits the class lifetime and failure contract.
 
eve::Result< float > getWorldCenterZ () const override
 getWorldCenterZ; inherits the class lifetime and failure contract.
 
eve::Result< void > setType (const std::string &bodyType) override
 setType; inherits the class lifetime and failure contract.
 
eve::Result< std::string > getType () const override
 getType; inherits the class lifetime and failure contract.
 
eve::Result< void > setFixedRotation (bool fixed) override
 setFixedRotation; inherits the class lifetime and failure contract.
 
eve::Result< bool > isFixedRotation () const override
 isFixedRotation; inherits the class lifetime and failure contract.
 
eve::Result< void > setActive (bool active) override
 setActive; inherits the class lifetime and failure contract.
 
eve::Result< bool > isActive () const override
 isActive; inherits the class lifetime and failure contract.
 
eve::Result< void > setBullet (bool bullet) override
 setBullet; inherits the class lifetime and failure contract.
 
eve::Result< bool > isBullet () const override
 isBullet; inherits the class lifetime and failure contract.
 
eve::Result< void > setAwake (bool awake) override
 setAwake; inherits the class lifetime and failure contract.
 
eve::Result< bool > isAwake () const override
 isAwake; inherits the class lifetime and failure contract.
 
- Public 成员函数 继承自 eve::physics::IBodyBackend3D
virtual ~IBodyBackend3D ()=default
 

Public 属性

std::shared_ptr< BodyState > body
 

详细描述

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

构造及析构函数说明

◆ BodyBackend()

eve::physics::jolt::BodyBackend::BodyBackend ( std::shared_ptr< BodyState >  value)
inlineexplicit

在文件 JoltBody.h 第 11 行定义.

◆ ~BodyBackend()

eve::physics::jolt::BodyBackend::~BodyBackend ( )
override

在文件 JoltBody.cpp 第 8 行定义.

引用了 destroy().

成员函数说明

◆ applyAngularImpulse()

eve::Result< void > eve::physics::jolt::BodyBackend::applyAngularImpulse ( float  ix,
float  iy,
float  iz 
)
overridevirtual

applyAngularImpulse; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 234 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

被这些函数引用 applyLocalAngularImpulse().

◆ applyForce()

eve::Result< void > eve::physics::jolt::BodyBackend::applyForce ( float  fx,
float  fy,
float  fz 
)
overridevirtual

applyForce; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 192 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

被这些函数引用 applyLocalForceToCenter().

◆ applyForceAt()

eve::Result< void > eve::physics::jolt::BodyBackend::applyForceAt ( float  fx,
float  fy,
float  fz,
float  x,
float  y,
float  z 
)
overridevirtual

applyForceAt; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 200 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, eve::physics::jolt::success(), x, y , 以及 z.

被这些函数引用 applyLocalForce().

◆ applyLinearImpulse()

eve::Result< void > eve::physics::jolt::BodyBackend::applyLinearImpulse ( float  ix,
float  iy,
float  iz 
)
overridevirtual

applyLinearImpulse; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 217 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

被这些函数引用 applyLocalLinearImpulseToCenter().

◆ applyLinearImpulseAt()

eve::Result< void > eve::physics::jolt::BodyBackend::applyLinearImpulseAt ( float  ix,
float  iy,
float  iz,
float  x,
float  y,
float  z 
)
overridevirtual

applyLinearImpulseAt; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

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

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, eve::physics::jolt::success(), x, y , 以及 z.

被这些函数引用 applyLocalLinearImpulse().

◆ applyLocalAngularImpulse()

eve::Result< void > eve::physics::jolt::BodyBackend::applyLocalAngularImpulse ( float  ix,
float  iy,
float  iz 
)
overridevirtual

applyLocalAngularImpulse; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 276 行定义.

引用了 applyAngularImpulse(), body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, v, vx, vy , 以及 vz.

◆ applyLocalForce()

eve::Result< void > eve::physics::jolt::BodyBackend::applyLocalForce ( float  fx,
float  fy,
float  fz,
float  x,
float  y,
float  z 
)
overridevirtual

applyLocalForce; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 242 行定义.

引用了 applyForceAt(), body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), p, eve::StaleHandle, v, vx, vy, vz, x, y , 以及 z.

◆ applyLocalForceToCenter()

eve::Result< void > eve::physics::jolt::BodyBackend::applyLocalForceToCenter ( float  fx,
float  fy,
float  fz 
)
overridevirtual

applyLocalForceToCenter; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 250 行定义.

引用了 applyForce(), body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, v, vx, vy , 以及 vz.

◆ applyLocalLinearImpulse()

eve::Result< void > eve::physics::jolt::BodyBackend::applyLocalLinearImpulse ( float  ix,
float  iy,
float  iz,
float  x,
float  y,
float  z 
)
overridevirtual

applyLocalLinearImpulse; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 262 行定义.

引用了 applyLinearImpulseAt(), body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), p, eve::StaleHandle, v, vx, vy, vz, x, y , 以及 z.

◆ applyLocalLinearImpulseToCenter()

eve::Result< void > eve::physics::jolt::BodyBackend::applyLocalLinearImpulseToCenter ( float  ix,
float  iy,
float  iz 
)
overridevirtual

applyLocalLinearImpulseToCenter; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 270 行定义.

引用了 applyLinearImpulse(), body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, v, vx, vy , 以及 vz.

◆ applyLocalTorque()

eve::Result< void > eve::physics::jolt::BodyBackend::applyLocalTorque ( float  tx,
float  ty,
float  tz 
)
overridevirtual

applyLocalTorque; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 256 行定义.

引用了 applyTorque(), body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, v, vx, vy , 以及 vz.

◆ applyTorque()

eve::Result< void > eve::physics::jolt::BodyBackend::applyTorque ( float  tx,
float  ty,
float  tz 
)
overridevirtual

applyTorque; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

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

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

被这些函数引用 applyLocalTorque().

◆ bindOwner()

void eve::physics::jolt::BodyBackend::bindOwner ( Body3D &  owner)
overridevirtualnoexcept

Binds its exclusive facade owner for internal attribution, on the simulation thread. @ownership Borrowed owner remains alive until invalidate; no external callbacks are invoked.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBody.cpp 第 10 行定义.

引用了 body , 以及 owner.

◆ createShape()

eve::Result< std::unique_ptr< IShapeBackend3D > > eve::physics::jolt::BodyBackend::createShape ( const ShapeGeometry3D &  geometry,
float  density,
float  friction,
float  restitution 
)
overridevirtual

Creates and owns one shape for this body; no input references are retained. @cost One geometry cook per creation; call during topology changes, not during solver traversal.

返回
Owned backend or InvalidArgument, Unsupported, StaleHandle, or Failed without adding a shape.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBody.cpp 第 29 行定义.

引用了 body, eve::physics::jolt::cook(), density, friction, geometry, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::jolt::rejected(), eve::physics::jolt::replaceShapes(), restitution, result, shape, eve::StaleHandle, eve::physics::jolt::success() , 以及 eve::physics::TriangleMesh.

◆ destroy()

void eve::physics::jolt::BodyBackend::destroy ( )
overridevirtualnoexcept

Releases the native body idempotently without callbacks; children must be detached first.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBody.cpp 第 15 行定义.

引用了 body , 以及 state.

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

◆ getAngularDamping()

eve::Result< float > eve::physics::jolt::BodyBackend::getAngularDamping ( ) const
overridevirtual

getAngularDamping; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 318 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getAngularVelocityX()

eve::Result< float > eve::physics::jolt::BodyBackend::getAngularVelocityX ( ) const
overridevirtual

getAngularVelocityX; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 97 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getAngularVelocityY()

eve::Result< float > eve::physics::jolt::BodyBackend::getAngularVelocityY ( ) const
overridevirtual

getAngularVelocityY; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 102 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getAngularVelocityZ()

eve::Result< float > eve::physics::jolt::BodyBackend::getAngularVelocityZ ( ) const
overridevirtual

getAngularVelocityZ; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 107 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getGravityScale()

eve::Result< float > eve::physics::jolt::BodyBackend::getGravityScale ( ) const
overridevirtual

getGravityScale; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

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

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getInertiaXX()

eve::Result< float > eve::physics::jolt::BodyBackend::getInertiaXX ( ) const
overridevirtual

getInertiaXX; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 438 行定义.

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

◆ getInertiaXY()

eve::Result< float > eve::physics::jolt::BodyBackend::getInertiaXY ( ) const
overridevirtual

getInertiaXY; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

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

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

◆ getInertiaXZ()

eve::Result< float > eve::physics::jolt::BodyBackend::getInertiaXZ ( ) const
overridevirtual

getInertiaXZ; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 458 行定义.

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

◆ getInertiaYY()

eve::Result< float > eve::physics::jolt::BodyBackend::getInertiaYY ( ) const
overridevirtual

getInertiaYY; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 443 行定义.

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

◆ getInertiaYZ()

eve::Result< float > eve::physics::jolt::BodyBackend::getInertiaYZ ( ) const
overridevirtual

getInertiaYZ; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 463 行定义.

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

◆ getInertiaZZ()

eve::Result< float > eve::physics::jolt::BodyBackend::getInertiaZZ ( ) const
overridevirtual

getInertiaZZ; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 448 行定义.

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

◆ getLinearDamping()

eve::Result< float > eve::physics::jolt::BodyBackend::getLinearDamping ( ) const
overridevirtual

getLinearDamping; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 303 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getLinearVelocityX()

eve::Result< float > eve::physics::jolt::BodyBackend::getLinearVelocityX ( ) const
overridevirtual

getLinearVelocityX; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 69 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getLinearVelocityY()

eve::Result< float > eve::physics::jolt::BodyBackend::getLinearVelocityY ( ) const
overridevirtual

getLinearVelocityY; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

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

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getLinearVelocityZ()

eve::Result< float > eve::physics::jolt::BodyBackend::getLinearVelocityZ ( ) const
overridevirtual

getLinearVelocityZ; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 79 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getLocalCenterX()

eve::Result< float > eve::physics::jolt::BodyBackend::getLocalCenterX ( ) const
overridevirtual

getLocalCenterX; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 468 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getLocalCenterY()

eve::Result< float > eve::physics::jolt::BodyBackend::getLocalCenterY ( ) const
overridevirtual

getLocalCenterY; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

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

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getLocalCenterZ()

eve::Result< float > eve::physics::jolt::BodyBackend::getLocalCenterZ ( ) const
overridevirtual

getLocalCenterZ; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 480 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getLocalPointVelocity()

eve::Result< std::vector< float > > eve::physics::jolt::BodyBackend::getLocalPointVelocity ( float  x,
float  y,
float  z 
) const
overridevirtual

getLocalPointVelocity; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 168 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::jolt::rejected(), eve::StaleHandle, v, x, y , 以及 z.

◆ getLocalPointVelocityOwned()

eve::Result< PhysicsVector3D > eve::physics::jolt::BodyBackend::getLocalPointVelocityOwned ( float  x,
float  y,
float  z 
) const
overridevirtual

getLocalPointVelocityOwned; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 176 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, v, x, y , 以及 z.

◆ getMass()

eve::Result< float > eve::physics::jolt::BodyBackend::getMass ( ) const
overridevirtual

getMass; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 84 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getRotW()

eve::Result< float > eve::physics::jolt::BodyBackend::getRotW ( ) const
overridevirtual

getRotW; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 57 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getRotX()

eve::Result< float > eve::physics::jolt::BodyBackend::getRotX ( ) const
overridevirtual

getRotX; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 42 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getRotY()

eve::Result< float > eve::physics::jolt::BodyBackend::getRotY ( ) const
overridevirtual

getRotY; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 47 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getRotZ()

eve::Result< float > eve::physics::jolt::BodyBackend::getRotZ ( ) const
overridevirtual

getRotZ; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 52 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getSleepThreshold()

eve::Result< float > eve::physics::jolt::BodyBackend::getSleepThreshold ( ) const
overridevirtual

getSleepThreshold; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 363 行定义.

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

◆ getType()

eve::Result< std::string > eve::physics::jolt::BodyBackend::getType ( ) const
overridevirtual

getType; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 521 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getWorldCenterX()

eve::Result< float > eve::physics::jolt::BodyBackend::getWorldCenterX ( ) const
overridevirtual

getWorldCenterX; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 486 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getWorldCenterY()

eve::Result< float > eve::physics::jolt::BodyBackend::getWorldCenterY ( ) const
overridevirtual

getWorldCenterY; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 491 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getWorldCenterZ()

eve::Result< float > eve::physics::jolt::BodyBackend::getWorldCenterZ ( ) const
overridevirtual

getWorldCenterZ; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

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

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getWorldPointVelocity()

eve::Result< std::vector< float > > eve::physics::jolt::BodyBackend::getWorldPointVelocity ( float  x,
float  y,
float  z 
) const
overridevirtual

getWorldPointVelocity; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 184 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::jolt::rejected(), eve::StaleHandle, v, x, y , 以及 z.

◆ getX()

eve::Result< float > eve::physics::jolt::BodyBackend::getX ( ) const
overridevirtual

getX; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 18 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getY()

eve::Result< float > eve::physics::jolt::BodyBackend::getY ( ) const
overridevirtual

getY; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

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

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ getZ()

eve::Result< float > eve::physics::jolt::BodyBackend::getZ ( ) const
overridevirtual

getZ; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 28 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ invalidate()

void eve::physics::jolt::BodyBackend::invalidate ( )
overridevirtualnoexcept

Detaches before its parent world destroys the native body.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBody.cpp 第 11 行定义.

引用了 body.

◆ isActive()

eve::Result< bool > eve::physics::jolt::BodyBackend::isActive ( ) const
overridevirtual

isActive; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 555 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ isAngularXLocked()

eve::Result< bool > eve::physics::jolt::BodyBackend::isAngularXLocked ( ) const
overridevirtual

isAngularXLocked; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 394 行定义.

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

◆ isAngularYLocked()

eve::Result< bool > eve::physics::jolt::BodyBackend::isAngularYLocked ( ) const
overridevirtual

isAngularYLocked; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 398 行定义.

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

◆ isAngularZLocked()

eve::Result< bool > eve::physics::jolt::BodyBackend::isAngularZLocked ( ) const
overridevirtual

isAngularZLocked; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

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

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

◆ isAwake()

eve::Result< bool > eve::physics::jolt::BodyBackend::isAwake ( ) const
overridevirtual

isAwake; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 586 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ isBullet()

eve::Result< bool > eve::physics::jolt::BodyBackend::isBullet ( ) const
overridevirtual

isBullet; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 569 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ isFixedRotation()

eve::Result< bool > eve::physics::jolt::BodyBackend::isFixedRotation ( ) const
overridevirtual

isFixedRotation; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 538 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ isLinearXLocked()

eve::Result< bool > eve::physics::jolt::BodyBackend::isLinearXLocked ( ) const
overridevirtual

isLinearXLocked; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 382 行定义.

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

◆ isLinearYLocked()

eve::Result< bool > eve::physics::jolt::BodyBackend::isLinearYLocked ( ) const
overridevirtual

isLinearYLocked; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 386 行定义.

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

◆ isLinearZLocked()

eve::Result< bool > eve::physics::jolt::BodyBackend::isLinearZLocked ( ) const
overridevirtual

isLinearZLocked; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 390 行定义.

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

◆ isSleepEnabled()

eve::Result< bool > eve::physics::jolt::BodyBackend::isSleepEnabled ( ) const
overridevirtual

isSleepEnabled; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 345 行定义.

引用了 body, isValid() , 以及 eve::StaleHandle.

◆ isValid()

bool eve::physics::jolt::BodyBackend::isValid ( ) const
overridevirtualnoexcept

Whether the native body remains alive.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBody.cpp 第 9 行定义.

引用了 body.

被这些函数引用 applyAngularImpulse(), applyForce(), applyForceAt(), applyLinearImpulse(), applyLinearImpulseAt(), applyLocalAngularImpulse(), applyLocalForce(), applyLocalForceToCenter(), applyLocalLinearImpulse(), applyLocalLinearImpulseToCenter(), applyLocalTorque(), applyTorque(), createShape(), getAngularDamping(), getAngularVelocityX(), getAngularVelocityY(), getAngularVelocityZ(), getGravityScale(), getInertiaXX(), getInertiaXY(), getInertiaXZ(), getInertiaYY(), getInertiaYZ(), getInertiaZZ(), getLinearDamping(), getLinearVelocityX(), getLinearVelocityY(), getLinearVelocityZ(), getLocalCenterX(), getLocalCenterY(), getLocalCenterZ(), getLocalPointVelocity(), getLocalPointVelocityOwned(), getMass(), getRotW(), getRotX(), getRotY(), getRotZ(), getSleepThreshold(), getType(), getWorldCenterX(), getWorldCenterY(), getWorldCenterZ(), getWorldPointVelocity(), getX(), getY(), getZ(), isActive(), isAngularXLocked(), isAngularYLocked(), isAngularZLocked(), isAwake(), isBullet(), isFixedRotation(), isLinearXLocked(), isLinearYLocked(), isLinearZLocked(), isSleepEnabled(), localToWorldPoint(), localToWorldPointOwned(), localToWorldVector(), localToWorldVectorOwned(), resetMassProperties(), setActive(), setAngularDamping(), setAngularVelocity(), setAwake(), setBullet(), setFixedRotation(), setGravityScale(), setLinearDamping(), setLinearVelocity(), setMassProperties(), setMotionLocks(), setPosition(), setRotation(), setSleepEnabled(), setSleepThreshold(), setTargetTransform(), setType(), worldToLocalPoint(), worldToLocalPointOwned() , 以及 worldToLocalVector().

◆ localToWorldPoint()

eve::Result< std::vector< float > > eve::physics::jolt::BodyBackend::localToWorldPoint ( float  x,
float  y,
float  z 
) const
overridevirtual

localToWorldPoint; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 112 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::jolt::rejected(), eve::StaleHandle, v, x, y , 以及 z.

◆ localToWorldPointOwned()

eve::Result< PhysicsVector3D > eve::physics::jolt::BodyBackend::localToWorldPointOwned ( float  x,
float  y,
float  z 
) const
overridevirtual

localToWorldPointOwned; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 120 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, v, x, y , 以及 z.

◆ localToWorldVector()

eve::Result< std::vector< float > > eve::physics::jolt::BodyBackend::localToWorldVector ( float  x,
float  y,
float  z 
) const
overridevirtual

localToWorldVector; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 144 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::jolt::rejected(), eve::StaleHandle, v, x, y , 以及 z.

◆ localToWorldVectorOwned()

eve::Result< PhysicsVector3D > eve::physics::jolt::BodyBackend::localToWorldVectorOwned ( float  x,
float  y,
float  z 
) const
overridevirtual

localToWorldVectorOwned; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 152 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, v, x, y , 以及 z.

◆ resetMassProperties()

eve::Result< void > eve::physics::jolt::BodyBackend::resetMassProperties ( )
overridevirtual

resetMassProperties; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 434 行定义.

引用了 body, isValid(), eve::physics::jolt::replaceShapes() , 以及 eve::StaleHandle.

◆ setActive()

eve::Result< void > eve::physics::jolt::BodyBackend::setActive ( bool  active)
overridevirtual

setActive; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 543 行定义.

引用了 active, body, isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

◆ setAngularDamping()

eve::Result< void > eve::physics::jolt::BodyBackend::setAngularDamping ( float  damping)
overridevirtual

setAngularDamping; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 309 行定义.

引用了 body, eve::InvalidArgument, isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

◆ setAngularVelocity()

eve::Result< void > eve::physics::jolt::BodyBackend::setAngularVelocity ( float  wx,
float  wy,
float  wz 
)
overridevirtual

setAngularVelocity; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 90 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, eve::physics::jolt::success(), wx, wy , 以及 wz.

◆ setAwake()

eve::Result< void > eve::physics::jolt::BodyBackend::setAwake ( bool  awake)
overridevirtual

setAwake; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 574 行定义.

引用了 awake, body, isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

◆ setBullet()

eve::Result< void > eve::physics::jolt::BodyBackend::setBullet ( bool  bullet)
overridevirtual

setBullet; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 560 行定义.

引用了 body, bullet, isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

◆ setFixedRotation()

eve::Result< void > eve::physics::jolt::BodyBackend::setFixedRotation ( bool  fixed)
overridevirtual

setFixedRotation; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 527 行定义.

引用了 body, isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

◆ setGravityScale()

eve::Result< void > eve::physics::jolt::BodyBackend::setGravityScale ( float  scale)
overridevirtual

setGravityScale; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 324 行定义.

引用了 body, eve::InvalidArgument, isValid(), scale, eve::StaleHandle , 以及 eve::physics::jolt::success().

◆ setLinearDamping()

eve::Result< void > eve::physics::jolt::BodyBackend::setLinearDamping ( float  damping)
overridevirtual

setLinearDamping; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 294 行定义.

引用了 body, eve::InvalidArgument, isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

◆ setLinearVelocity()

eve::Result< void > eve::physics::jolt::BodyBackend::setLinearVelocity ( float  vx,
float  vy,
float  vz 
)
overridevirtual

setLinearVelocity; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 62 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, eve::physics::jolt::success(), vx, vy , 以及 vz.

◆ setMassProperties()

eve::Result< void > eve::physics::jolt::BodyBackend::setMassProperties ( float  mass,
float  centerX,
float  centerY,
float  centerZ,
float  inertiaXX,
float  inertiaYY,
float  inertiaZZ,
float  inertiaXY,
float  inertiaXZ,
float  inertiaYZ 
)
overridevirtual

◆ setMotionLocks()

eve::Result< void > eve::physics::jolt::BodyBackend::setMotionLocks ( bool  linearX,
bool  linearY,
bool  linearZ,
bool  angularX,
bool  angularY,
bool  angularZ 
)
overridevirtual

setMotionLocks; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 370 行定义.

引用了 body, isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

◆ setPosition()

eve::Result< void > eve::physics::jolt::BodyBackend::setPosition ( float  x,
float  y,
float  z 
)
overridevirtual

setPosition; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 11 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, eve::physics::jolt::success(), x, y , 以及 z.

◆ setRotation()

eve::Result< void > eve::physics::jolt::BodyBackend::setRotation ( float  qx,
float  qy,
float  qz,
float  qw 
)
overridevirtual

setRotation; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 33 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), q, qw, qx, qy, qz, eve::StaleHandle , 以及 eve::physics::jolt::success().

◆ setSleepEnabled()

eve::Result< void > eve::physics::jolt::BodyBackend::setSleepEnabled ( bool  enabled)
overridevirtual

setSleepEnabled; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 336 行定义.

引用了 body, enabled, isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

◆ setSleepThreshold()

eve::Result< void > eve::physics::jolt::BodyBackend::setSleepThreshold ( float  threshold)
overridevirtual

setSleepThreshold; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 351 行定义.

引用了 body, eve::InvalidArgument, isValid(), eve::StaleHandle , 以及 eve::physics::jolt::success().

◆ setTargetTransform()

eve::Result< void > eve::physics::jolt::BodyBackend::setTargetTransform ( float  x,
float  y,
float  z,
float  qx,
float  qy,
float  qz,
float  qw,
float  timeStep 
)
overridevirtual

setTargetTransform; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 282 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), q, qw, qx, qy, qz, eve::StaleHandle, eve::physics::jolt::success(), x, y , 以及 z.

◆ setType()

eve::Result< void > eve::physics::jolt::BodyBackend::setType ( const std::string &  bodyType)
overridevirtual

setType; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 501 行定义.

引用了 body, eve::InvalidArgument, isValid(), eve::physics::jolt::replaceShapes(), s, eve::StaleHandle, eve::physics::jolt::success() , 以及 type.

◆ worldToLocalPoint()

eve::Result< std::vector< float > > eve::physics::jolt::BodyBackend::worldToLocalPoint ( float  x,
float  y,
float  z 
) const
overridevirtual

worldToLocalPoint; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 128 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::jolt::rejected(), eve::StaleHandle, v, x, y , 以及 z.

◆ worldToLocalPointOwned()

eve::Result< PhysicsVector3D > eve::physics::jolt::BodyBackend::worldToLocalPointOwned ( float  x,
float  y,
float  z 
) const
overridevirtual

worldToLocalPointOwned; inherits the class lifetime and failure contract.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 136 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle, v, x, y , 以及 z.

◆ worldToLocalVector()

eve::Result< std::vector< float > > eve::physics::jolt::BodyBackend::worldToLocalVector ( float  x,
float  y,
float  z 
) const
overridevirtual

worldToLocalVector; inherits the class lifetime and failure contract. @cost Three scalar values copied per query; no geometry cooking or solver step.

实现了 eve::physics::IBodyBackend3D.

在文件 JoltBodyOperations.cpp 第 160 行定义.

引用了 body, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::jolt::rejected(), eve::StaleHandle, v, x, y , 以及 z.

类成员变量说明

◆ body

std::shared_ptr<BodyState> eve::physics::jolt::BodyBackend::body

在文件 JoltBody.h 第 10 行定义.

被这些函数引用 applyAngularImpulse(), applyForce(), applyForceAt(), applyLinearImpulse(), applyLinearImpulseAt(), applyLocalAngularImpulse(), applyLocalForce(), applyLocalForceToCenter(), applyLocalLinearImpulse(), applyLocalLinearImpulseToCenter(), applyLocalTorque(), applyTorque(), createShape(), destroy(), getAngularDamping(), getAngularVelocityX(), getAngularVelocityY(), getAngularVelocityZ(), getGravityScale(), getInertiaXX(), getInertiaXY(), getInertiaXZ(), getInertiaYY(), getInertiaYZ(), getInertiaZZ(), getLinearDamping(), getLinearVelocityX(), getLinearVelocityY(), getLinearVelocityZ(), getLocalCenterX(), getLocalCenterY(), getLocalCenterZ(), getLocalPointVelocity(), getLocalPointVelocityOwned(), getMass(), getRotW(), getRotX(), getRotY(), getRotZ(), getSleepThreshold(), getType(), getWorldCenterX(), getWorldCenterY(), getWorldCenterZ(), getWorldPointVelocity(), getX(), getY(), getZ(), invalidate(), isActive(), isAngularXLocked(), isAngularYLocked(), isAngularZLocked(), isAwake(), isBullet(), isFixedRotation(), isLinearXLocked(), isLinearYLocked(), isLinearZLocked(), isSleepEnabled(), isValid(), localToWorldPoint(), localToWorldPointOwned(), localToWorldVector(), localToWorldVectorOwned(), resetMassProperties(), setActive(), setAngularDamping(), setAngularVelocity(), setAwake(), setBullet(), setFixedRotation(), setGravityScale(), setLinearDamping(), setLinearVelocity(), setMassProperties(), setMotionLocks(), setPosition(), setRotation(), setSleepEnabled(), setSleepThreshold(), setTargetTransform(), setType(), worldToLocalPoint(), worldToLocalPointOwned() , 以及 worldToLocalVector().


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