载入中...
搜索中...
未找到
eve::physics::detail 命名空间参考

函数

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

函数说明

◆ allocatePhysicsWorldHandle()

PhysicsWorldHandle eve::physics::detail::allocatePhysicsWorldHandle ( )

Allocates a process-local world handle from the physics owner.

返回
A live-world candidate with generation one.
异常
eve::Exceptionwhen the process-local index space is exhausted.

The returned value is not persistent. World owns the occupancy and invalidates the handle before its solver state is destroyed.

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

引用了 current.

被这些函数引用 eve::physics::World::World().

◆ makePhysicsWorldPersistentId()

eve::PersistentId eve::physics::detail::makePhysicsWorldPersistentId ( PhysicsWorldHandle  runtimeHandle)

Creates a non-nil process-local generated identity for a world without an injected persistent ID.

在文件 PhysicsHandles.cpp 第 26 行定义.

引用了 bytes, eve::RuntimeHandle< Tag >::packed(), sequence , 以及 serial.

被这些函数引用 eve::physics::World::World().