载入中...
搜索中...
未找到
eve::scene_physics::ScenePhysics类 参考final

Scene/runtime composition entry point for generated colliders in a shared World3D. 更多...

#include <ScenePhysics.h>

类 eve::scene_physics::ScenePhysics 继承关系图:
eve::Module

Public 成员函数

 Module_REG (ScenePhysics)
 
eve::Result< void > bindGeneratedColliders (eve::physics::World3D &world)
 Route future generated collider publications into a caller-owned gameplay world. @ownership The caller owns world; this module retains only its stale-safe identity and a provider binding. @lifetime The provider owns the binding. Unbind before destroying a non-empty publication set; world destruction makes records observably stale. @thread Owner-thread only; do not race publication or simulation stepping.
 
eve::Result< void > unbindGeneratedColliders ()
 Remove the current empty shared-world binding.
 
eve::physics::PhysicsWorldHandle boundWorld () const noexcept
 Current bound world identity, or invalid when unbound/stale.
 
- Public 成员函数 继承自 eve::Module
virtual ~Module ()
 Module.
 
virtual std::string getName () const =0
 Returns the name.
 

详细描述

Scene/runtime composition entry point for generated colliders in a shared World3D.

在文件 ScenePhysics.h 第 16 行定义.

成员函数说明

◆ bindGeneratedColliders()

eve::Result< void > eve::scene_physics::ScenePhysics::bindGeneratedColliders ( eve::physics::World3D &  world)

Route future generated collider publications into a caller-owned gameplay world. @ownership The caller owns world; this module retains only its stale-safe identity and a provider binding. @lifetime The provider owns the binding. Unbind before destroying a non-empty publication set; world destruction makes records observably stale. @thread Owner-thread only; do not race publication or simulation stepping.

在文件 ScenePhysics.cpp 第 14 行定义.

引用了 eve::physics::PhysicsArtifactProvider::bindWorld(), eve::Result< T >::failure(), eve::physics::physicsArtifactProvider() , 以及 world.

◆ boundWorld()

eve::physics::PhysicsWorldHandle eve::scene_physics::ScenePhysics::boundWorld ( ) const
noexcept

Current bound world identity, or invalid when unbound/stale.

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

引用了 eve::physics::PhysicsArtifactProvider::boundWorld() , 以及 eve::physics::physicsArtifactProvider().

◆ Module_REG()

eve::scene_physics::ScenePhysics::Module_REG ( ScenePhysics  )

◆ unbindGeneratedColliders()

eve::Result< void > eve::scene_physics::ScenePhysics::unbindGeneratedColliders ( )

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