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

Optional binding capability; physics owns the factory for process lifetime. 更多...

#include <WorldSphereSweep.h>

Public 成员函数

virtual ~IWorldSphereSweepFactory ()=default
 Release factory resources.
 
virtual Result< std::unique_ptr< IWorldSphereSweep > > bind (std::string_view worldToken, WorldSphereSweepSettings settings) const =0
 Bind an opaque World3D query token and snapshot the ignored body's generation. @ownership Returns an owning session; no raw world pointer survives this call. @thread Owner simulation thread only; no callbacks. @cost Allocates one query session per binding, amortized across all projectile updates.
 

静态 Public 属性

static constexpr const char * capabilityName = "eve.physics.IWorldSphereSweepFactory"
 

详细描述

Optional binding capability; physics owns the factory for process lifetime.

在文件 WorldSphereSweep.h 第 52 行定义.

构造及析构函数说明

◆ ~IWorldSphereSweepFactory()

virtual eve::IWorldSphereSweepFactory::~IWorldSphereSweepFactory ( )
virtualdefault

Release factory resources.

成员函数说明

◆ bind()

virtual Result< std::unique_ptr< IWorldSphereSweep > > eve::IWorldSphereSweepFactory::bind ( std::string_view  worldToken,
WorldSphereSweepSettings  settings 
) const
pure virtual

Bind an opaque World3D query token and snapshot the ignored body's generation. @ownership Returns an owning session; no raw world pointer survives this call. @thread Owner simulation thread only; no callbacks. @cost Allocates one query session per binding, amortized across all projectile updates.

返回
Failure preserves any previous binding in the caller.

类成员变量说明

◆ capabilityName

constexpr const char* eve::IWorldSphereSweepFactory::capabilityName = "eve.physics.IWorldSphereSweepFactory"
staticconstexpr

在文件 WorldSphereSweep.h 第 54 行定义.


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