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

Solver-independent control of a rigid body, exclusively owned by its facade. @ownership Implementation owns the native body; parent invalidation detaches before world teardown. @thread Owning simulation thread only, between steps; no callbacks or reentrant mutation. @lifetime Results own their data. No borrowed native state escapes this interface. 更多...

#include <BodyBackend3D.h>

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

Public 成员函数

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

详细描述

Solver-independent control of a rigid body, exclusively owned by its facade. @ownership Implementation owns the native body; parent invalidation detaches before world teardown. @thread Owning simulation thread only, between steps; no callbacks or reentrant mutation. @lifetime Results own their data. No borrowed native state escapes this interface.

备注
Failed commands return StaleHandle, InvalidArgument or Unsupported before mutation. Units are metres, seconds and kilograms; rotations use XYZW quaternions.

在文件 BodyBackend3D.h 第 17 行定义.

构造及析构函数说明

◆ ~IBodyBackend3D()

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

成员函数说明

◆ applyAngularImpulse()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyAngularImpulse ( float  ix,
float  iy,
float  iz 
)
pure virtual

applyAngularImpulse; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ applyForce()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyForce ( float  fx,
float  fy,
float  fz 
)
pure virtual

applyForce; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ applyForceAt()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyForceAt ( float  fx,
float  fy,
float  fz,
float  x,
float  y,
float  z 
)
pure virtual

applyForceAt; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ applyLinearImpulse()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyLinearImpulse ( float  ix,
float  iy,
float  iz 
)
pure virtual

applyLinearImpulse; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ applyLinearImpulseAt()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyLinearImpulseAt ( float  ix,
float  iy,
float  iz,
float  x,
float  y,
float  z 
)
pure virtual

applyLinearImpulseAt; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ applyLocalAngularImpulse()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyLocalAngularImpulse ( float  ix,
float  iy,
float  iz 
)
pure virtual

applyLocalAngularImpulse; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ applyLocalForce()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyLocalForce ( float  fx,
float  fy,
float  fz,
float  x,
float  y,
float  z 
)
pure virtual

applyLocalForce; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ applyLocalForceToCenter()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyLocalForceToCenter ( float  fx,
float  fy,
float  fz 
)
pure virtual

applyLocalForceToCenter; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ applyLocalLinearImpulse()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyLocalLinearImpulse ( float  ix,
float  iy,
float  iz,
float  x,
float  y,
float  z 
)
pure virtual

applyLocalLinearImpulse; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ applyLocalLinearImpulseToCenter()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyLocalLinearImpulseToCenter ( float  ix,
float  iy,
float  iz 
)
pure virtual

applyLocalLinearImpulseToCenter; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ applyLocalTorque()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyLocalTorque ( float  tx,
float  ty,
float  tz 
)
pure virtual

applyLocalTorque; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ applyTorque()

virtual eve::Result< void > eve::physics::IBodyBackend3D::applyTorque ( float  tx,
float  ty,
float  tz 
)
pure virtual

applyTorque; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ bindOwner()

virtual void eve::physics::IBodyBackend3D::bindOwner ( Body3D &  owner)
pure virtualnoexcept

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::jolt::BodyBackend 内被实现.

◆ createShape()

virtual eve::Result< std::unique_ptr< IShapeBackend3D > > eve::physics::IBodyBackend3D::createShape ( const ShapeGeometry3D &  geometry,
float  density,
float  friction,
float  restitution 
)
pure virtual

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::jolt::BodyBackend 内被实现.

◆ destroy()

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

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

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getAngularDamping()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getAngularDamping ( ) const
pure virtual

getAngularDamping; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getAngularVelocityX()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getAngularVelocityX ( ) const
pure virtual

getAngularVelocityX; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getAngularVelocityY()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getAngularVelocityY ( ) const
pure virtual

getAngularVelocityY; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getAngularVelocityZ()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getAngularVelocityZ ( ) const
pure virtual

getAngularVelocityZ; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getGravityScale()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getGravityScale ( ) const
pure virtual

getGravityScale; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getInertiaXX()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getInertiaXX ( ) const
pure virtual

getInertiaXX; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getInertiaXY()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getInertiaXY ( ) const
pure virtual

getInertiaXY; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getInertiaXZ()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getInertiaXZ ( ) const
pure virtual

getInertiaXZ; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getInertiaYY()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getInertiaYY ( ) const
pure virtual

getInertiaYY; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getInertiaYZ()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getInertiaYZ ( ) const
pure virtual

getInertiaYZ; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getInertiaZZ()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getInertiaZZ ( ) const
pure virtual

getInertiaZZ; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getLinearDamping()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getLinearDamping ( ) const
pure virtual

getLinearDamping; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getLinearVelocityX()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getLinearVelocityX ( ) const
pure virtual

getLinearVelocityX; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getLinearVelocityY()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getLinearVelocityY ( ) const
pure virtual

getLinearVelocityY; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getLinearVelocityZ()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getLinearVelocityZ ( ) const
pure virtual

getLinearVelocityZ; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getLocalCenterX()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getLocalCenterX ( ) const
pure virtual

getLocalCenterX; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getLocalCenterY()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getLocalCenterY ( ) const
pure virtual

getLocalCenterY; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getLocalCenterZ()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getLocalCenterZ ( ) const
pure virtual

getLocalCenterZ; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getLocalPointVelocity()

virtual eve::Result< std::vector< float > > eve::physics::IBodyBackend3D::getLocalPointVelocity ( float  x,
float  y,
float  z 
) const
pure virtual

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

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getLocalPointVelocityOwned()

virtual eve::Result< PhysicsVector3D > eve::physics::IBodyBackend3D::getLocalPointVelocityOwned ( float  x,
float  y,
float  z 
) const
pure virtual

getLocalPointVelocityOwned; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getMass()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getMass ( ) const
pure virtual

getMass; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getRotW()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getRotW ( ) const
pure virtual

getRotW; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getRotX()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getRotX ( ) const
pure virtual

getRotX; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getRotY()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getRotY ( ) const
pure virtual

getRotY; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getRotZ()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getRotZ ( ) const
pure virtual

getRotZ; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getSleepThreshold()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getSleepThreshold ( ) const
pure virtual

getSleepThreshold; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getType()

virtual eve::Result< std::string > eve::physics::IBodyBackend3D::getType ( ) const
pure virtual

getType; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getWorldCenterX()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getWorldCenterX ( ) const
pure virtual

getWorldCenterX; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getWorldCenterY()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getWorldCenterY ( ) const
pure virtual

getWorldCenterY; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getWorldCenterZ()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getWorldCenterZ ( ) const
pure virtual

getWorldCenterZ; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getWorldPointVelocity()

virtual eve::Result< std::vector< float > > eve::physics::IBodyBackend3D::getWorldPointVelocity ( float  x,
float  y,
float  z 
) const
pure virtual

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

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getX()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getX ( ) const
pure virtual

getX; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getY()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getY ( ) const
pure virtual

getY; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ getZ()

virtual eve::Result< float > eve::physics::IBodyBackend3D::getZ ( ) const
pure virtual

getZ; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ invalidate()

virtual void eve::physics::IBodyBackend3D::invalidate ( )
pure virtualnoexcept

Detaches before its parent world destroys the native body.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isActive()

virtual eve::Result< bool > eve::physics::IBodyBackend3D::isActive ( ) const
pure virtual

isActive; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isAngularXLocked()

virtual eve::Result< bool > eve::physics::IBodyBackend3D::isAngularXLocked ( ) const
pure virtual

isAngularXLocked; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isAngularYLocked()

virtual eve::Result< bool > eve::physics::IBodyBackend3D::isAngularYLocked ( ) const
pure virtual

isAngularYLocked; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isAngularZLocked()

virtual eve::Result< bool > eve::physics::IBodyBackend3D::isAngularZLocked ( ) const
pure virtual

isAngularZLocked; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isAwake()

virtual eve::Result< bool > eve::physics::IBodyBackend3D::isAwake ( ) const
pure virtual

isAwake; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isBullet()

virtual eve::Result< bool > eve::physics::IBodyBackend3D::isBullet ( ) const
pure virtual

isBullet; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isFixedRotation()

virtual eve::Result< bool > eve::physics::IBodyBackend3D::isFixedRotation ( ) const
pure virtual

isFixedRotation; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isLinearXLocked()

virtual eve::Result< bool > eve::physics::IBodyBackend3D::isLinearXLocked ( ) const
pure virtual

isLinearXLocked; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isLinearYLocked()

virtual eve::Result< bool > eve::physics::IBodyBackend3D::isLinearYLocked ( ) const
pure virtual

isLinearYLocked; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isLinearZLocked()

virtual eve::Result< bool > eve::physics::IBodyBackend3D::isLinearZLocked ( ) const
pure virtual

isLinearZLocked; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isSleepEnabled()

virtual eve::Result< bool > eve::physics::IBodyBackend3D::isSleepEnabled ( ) const
pure virtual

isSleepEnabled; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ isValid()

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

Whether the native body remains alive.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ localToWorldPoint()

virtual eve::Result< std::vector< float > > eve::physics::IBodyBackend3D::localToWorldPoint ( float  x,
float  y,
float  z 
) const
pure virtual

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

在 eve::physics::jolt::BodyBackend 内被实现.

◆ localToWorldPointOwned()

virtual eve::Result< PhysicsVector3D > eve::physics::IBodyBackend3D::localToWorldPointOwned ( float  x,
float  y,
float  z 
) const
pure virtual

localToWorldPointOwned; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ localToWorldVector()

virtual eve::Result< std::vector< float > > eve::physics::IBodyBackend3D::localToWorldVector ( float  x,
float  y,
float  z 
) const
pure virtual

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

在 eve::physics::jolt::BodyBackend 内被实现.

◆ localToWorldVectorOwned()

virtual eve::Result< PhysicsVector3D > eve::physics::IBodyBackend3D::localToWorldVectorOwned ( float  x,
float  y,
float  z 
) const
pure virtual

localToWorldVectorOwned; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ resetMassProperties()

virtual eve::Result< void > eve::physics::IBodyBackend3D::resetMassProperties ( )
pure virtual

resetMassProperties; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setActive()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setActive ( bool  active)
pure virtual

setActive; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setAngularDamping()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setAngularDamping ( float  damping)
pure virtual

setAngularDamping; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setAngularVelocity()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setAngularVelocity ( float  wx,
float  wy,
float  wz 
)
pure virtual

setAngularVelocity; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setAwake()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setAwake ( bool  awake)
pure virtual

setAwake; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setBullet()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setBullet ( bool  bullet)
pure virtual

setBullet; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setFixedRotation()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setFixedRotation ( bool  fixed)
pure virtual

setFixedRotation; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setGravityScale()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setGravityScale ( float  scale)
pure virtual

setGravityScale; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setLinearDamping()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setLinearDamping ( float  damping)
pure virtual

setLinearDamping; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setLinearVelocity()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setLinearVelocity ( float  vx,
float  vy,
float  vz 
)
pure virtual

setLinearVelocity; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setMassProperties()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setMassProperties ( float  mass,
float  centerX,
float  centerY,
float  centerZ,
float  inertiaXX,
float  inertiaYY,
float  inertiaZZ,
float  inertiaXY,
float  inertiaXZ,
float  inertiaYZ 
)
pure virtual

setMassProperties; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setMotionLocks()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setMotionLocks ( bool  linearX,
bool  linearY,
bool  linearZ,
bool  angularX,
bool  angularY,
bool  angularZ 
)
pure virtual

setMotionLocks; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setPosition()

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

setPosition; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setRotation()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setRotation ( float  qx,
float  qy,
float  qz,
float  qw 
)
pure virtual

setRotation; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setSleepEnabled()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setSleepEnabled ( bool  enabled)
pure virtual

setSleepEnabled; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setSleepThreshold()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setSleepThreshold ( float  threshold)
pure virtual

setSleepThreshold; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setTargetTransform()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setTargetTransform ( float  x,
float  y,
float  z,
float  qx,
float  qy,
float  qz,
float  qw,
float  timeStep 
)
pure virtual

setTargetTransform; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ setType()

virtual eve::Result< void > eve::physics::IBodyBackend3D::setType ( const std::string &  bodyType)
pure virtual

setType; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ worldToLocalPoint()

virtual eve::Result< std::vector< float > > eve::physics::IBodyBackend3D::worldToLocalPoint ( float  x,
float  y,
float  z 
) const
pure virtual

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

在 eve::physics::jolt::BodyBackend 内被实现.

◆ worldToLocalPointOwned()

virtual eve::Result< PhysicsVector3D > eve::physics::IBodyBackend3D::worldToLocalPointOwned ( float  x,
float  y,
float  z 
) const
pure virtual

worldToLocalPointOwned; inherits the class lifetime and failure contract.

在 eve::physics::jolt::BodyBackend 内被实现.

◆ worldToLocalVector()

virtual eve::Result< std::vector< float > > eve::physics::IBodyBackend3D::worldToLocalVector ( float  x,
float  y,
float  z 
) const
pure virtual

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

在 eve::physics::jolt::BodyBackend 内被实现.


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