载入中...
搜索中...
未找到
eve::animation::IMontageClipProvider类 参考abstract
Synchronous ownership-transfer port used to resolve montage clip URIs. 更多...
#include <MontagePlayer.h>
Public 成员函数 | |
| virtual | ~IMontageClipProvider ()=default |
| Releases IMontageClipProvider resources. | |
| virtual Result< std::unique_ptr< AnimClip > > | load (std::string_view uri, const AnimSkeleton &skeleton)=0 |
| Resolve one URI into a clip compatible with the borrowed skeleton. | |
详细描述
Synchronous ownership-transfer port used to resolve montage clip URIs.
Implementations may cache source assets but must return a distinct owned clip for each successful call. They must not retain the borrowed skeleton or invoke scripts while loading.
在文件 MontagePlayer.h 第 40 行定义.
构造及析构函数说明
◆ ~IMontageClipProvider()
|
virtualdefault |
Releases IMontageClipProvider resources.
成员函数说明
◆ load()
|
pure virtual |
Resolve one URI into a clip compatible with the borrowed skeleton.
被这些函数引用 eve::animation::MontagePlayer::prepare() , 以及 eve::animation::MontagePlayer::reloadClips().
该类的文档由以下文件生成:
- src/modules/animation/MontagePlayer.h