Candidate-first live AvatarInstance generation. 更多...
#include <AvatarTarget.h>
Public 成员函数 | |
| AvatarDocumentRuntime () | |
| Avatar document runtime. | |
| ~AvatarDocumentRuntime () | |
| Avatar document runtime. | |
| Result< void > | publish (const AvatarDocumentTarget &, const IAvatarTextureResolver *textures=nullptr) |
| Build all layers, metadata and expressions before replacing the live generation. | |
| avatar::AvatarInstance * | instance () const |
| Instance. | |
| Revision | revision () const |
| Revision. | |
详细描述
Candidate-first live AvatarInstance generation.
在文件 AvatarTarget.h 第 164 行定义.
构造及析构函数说明
◆ AvatarDocumentRuntime()
|
default |
Avatar document runtime.
◆ ~AvatarDocumentRuntime()
|
default |
Avatar document runtime.
成员函数说明
◆ instance()
|
inline |
Instance.
在文件 AvatarTarget.h 第 176 行定义.
◆ publish()
| Result< void > eve::avatar_editing::AvatarDocumentRuntime::publish | ( | const AvatarDocumentTarget & | document, |
| const IAvatarTextureResolver * | textures = nullptr |
||
| ) |
Build all layers, metadata and expressions before replacing the live generation.
- 参数
-
textures Optional borrowed resolver; it is used only during this call and is never retained. @lifetime The caller must keep textures alive for the duration of publish.
在文件 AvatarRuntime.cpp 第 13 行定义.
引用了 d, eve::avatar_editing::AvatarDocumentTarget::expressions(), eve::Result< T >::failure(), first, imported, eve::avatar_editing::AvatarDocumentTarget::kind(), layer, eve::avatar_editing::AvatarDocumentTarget::layers(), name, eve::avatar_editing::AvatarDocumentTarget::parameters(), eve::editing::EditableTargetState::revision(), size, eve::avatar_editing::AvatarDocumentTarget::sourceAsset(), eve::avatar_editing::IAvatarTextureResolver::texture(), eve::avatar_editing::AvatarDocumentTarget::validate() , 以及 value.
◆ revision()
|
inline |
Revision.
在文件 AvatarTarget.h 第 178 行定义.
该类的文档由以下文件生成:
- src/modules/avatar/editing/AvatarTarget.h
- src/modules/avatar/editing/AvatarRuntime.cpp