载入中...
搜索中...
未找到
PhysicsHandles.h 文件参考

Process-local, generation-qualified handles owned by the physics domain. 更多...

浏览源代码.

类

struct  eve::physics::PhysicsWorldHandleTag
 Tag for a process-local physics-world handle. 更多...
 
struct  eve::physics::PhysicsBodyHandleTag
 Tag for a process-local physics-body handle. 更多...
 
struct  eve::physics::PhysicsShapeHandleTag
 Tag for a process-local physics-shape handle. 更多...
 
struct  eve::physics::PhysicsJointHandleTag
 Tag for a process-local physics-joint handle. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::physics
 Optional physics backend for vehicle mobility and body attach.
 
namespace  eve::physics::detail
 

类型定义

using eve::physics::PhysicsWorldHandle = eve::RuntimeHandle< PhysicsWorldHandleTag >
 Generation-qualified runtime identity for a physics world.
 
using eve::physics::PhysicsBodyHandle = eve::RuntimeHandle< PhysicsBodyHandleTag >
 Generation-qualified runtime identity for a physics body.
 
using eve::physics::PhysicsShapeHandle = eve::RuntimeHandle< PhysicsShapeHandleTag >
 Generation-qualified runtime identity for a physics shape.
 
using eve::physics::PhysicsJointHandle = eve::RuntimeHandle< PhysicsJointHandleTag >
 Generation-qualified runtime identity for a physics joint.
 

函数

PhysicsWorldHandle eve::physics::detail::allocatePhysicsWorldHandle ()
 Allocates a process-local world handle from the physics owner.
 
eve::PersistentId eve::physics::detail::makePhysicsWorldPersistentId (PhysicsWorldHandle runtimeHandle)
 Creates a non-nil process-local generated identity for a world without an injected persistent ID.
 

详细描述

Process-local, generation-qualified handles owned by the physics domain.

These handles are deliberately not UUIDs and are not persistent identity. Save data stores the owning domain's persistent identity and rebuilds these handles while restoring the world.

在文件 PhysicsHandles.h 中定义.