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

One optional domain provider capable of resolving selected ECS entities. 更多...

#include <EntitySpatialResolver.h>

Public 成员函数

virtual ~IEntitySpatialProvider ()=default
 I entity spatial provider.
 
virtual Result< EntitySpatialPose > resolve (ecs::EntityHandle entity, std::string_view bone) const =0
 Resolve a current world pose, optionally at a named bone/socket.
 

静态 Public 属性

static constexpr const char * capabilityName = "eve.entity-spatial-provider"
 

详细描述

One optional domain provider capable of resolving selected ECS entities.

备注
Providers are owner-thread-only, invoke no callbacks and return NotFound for entity types they do not own. Returned poses own all data.

在文件 EntitySpatialResolver.h 第 31 行定义.

构造及析构函数说明

◆ ~IEntitySpatialProvider()

virtual eve::IEntitySpatialProvider::~IEntitySpatialProvider ( )
virtualdefault

I entity spatial provider.

成员函数说明

◆ resolve()

virtual Result< EntitySpatialPose > eve::IEntitySpatialProvider::resolve ( ecs::EntityHandle  entity,
std::string_view  bone 
) const
pure virtual

Resolve a current world pose, optionally at a named bone/socket.

参数
entityGeneration-qualified ECS identity resolved during this call.
boneOptional stable bone/socket name; empty requests the entity root.
返回
Owning pose, NotFound for an unsupported entity, or a structured failure.

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

类成员变量说明

◆ capabilityName

constexpr const char* eve::IEntitySpatialProvider::capabilityName = "eve.entity-spatial-provider"
staticconstexpr

在文件 EntitySpatialResolver.h 第 33 行定义.


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