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

Optional immutable asset-bounds capability for explicit procedural bakes. 更多...

#include <ProcgenAssetBounds.h>

类 eve::IProcgenAssetBounds 继承关系图:
eve::asset_graphics::PrefabBoundsCatalog

Public 成员函数

virtual ~IProcgenAssetBounds ()=default
 Destroy the interface; registration lifetime remains owned by the composition host.
 
virtual Result< std::array< float, 6 > > localBounds (const AssetRef &asset, const PersistentId &build, PrefabRootPose rootPose=PrefabRootPose::Authored) const =0
 Resolve prefab-local min XYZ/max XYZ at an exact admitted package build identity.
 

静态 Public 属性

static constexpr const char * capabilityName = "IProcgenAssetBounds"
 

详细描述

Optional immutable asset-bounds capability for explicit procedural bakes.

在文件 ProcgenAssetBounds.h 第 10 行定义.

构造及析构函数说明

◆ ~IProcgenAssetBounds()

virtual eve::IProcgenAssetBounds::~IProcgenAssetBounds ( )
virtualdefault

Destroy the interface; registration lifetime remains owned by the composition host.

成员函数说明

◆ localBounds()

virtual Result< std::array< float, 6 > > eve::IProcgenAssetBounds::localBounds ( const AssetRef &  asset,
const PersistentId &  build,
PrefabRootPose  rootPose = PrefabRootPose::Authored 
) const
pure virtual

Resolve prefab-local min XYZ/max XYZ at an exact admitted package build identity.

参数
assetCanonical asset:// UUID, borrowed only during this call.
buildCanonical package build UUID; stale builds must fail.
rootPosePlacement convention shared with renderer preparation; unknown modes must fail.
返回
Owning finite ordered bounds or a structured missing/stale failure. @thread Caller generation thread; owner prevents concurrent catalogue mutation. @reentrant No retained inputs, callbacks or locks; provider must outlive the synchronous bake. @cost Cheap catalogue lookup amortized after explicit loading; never invoked per render frame.

在 eve::asset_graphics::PrefabBoundsCatalog 内被实现.

类成员变量说明

◆ capabilityName

constexpr const char* eve::IProcgenAssetBounds::capabilityName = "IProcgenAssetBounds"
staticconstexpr

在文件 ProcgenAssetBounds.h 第 12 行定义.


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