载入中...
搜索中...
未找到
eve::stylize_editing::MeshVfxPreviewRuntime类 参考

Candidate-first live preview generation for a MeshVfxAssetTarget. A rejected publication preserves the previous instance and revision. 更多...

#include <MeshVfxTarget.h>

Public 成员函数

 MeshVfxPreviewRuntime ()
 Mesh vfx preview runtime.
 
 ~MeshVfxPreviewRuntime ()
 Mesh vfx preview runtime.
 
Result< void > publish (const MeshVfxAssetTarget &document)
 Build every runtime layer before atomically replacing the active preview.
 
stylize::MeshVfxAssetInstance * instance () noexcept
 Return the active preview instance, or null before publication.
 
Revision revision () const noexcept
 Return the active document revision, or zero before publication.
 

详细描述

Candidate-first live preview generation for a MeshVfxAssetTarget. A rejected publication preserves the previous instance and revision.

在文件 MeshVfxTarget.h 第 103 行定义.

构造及析构函数说明

◆ MeshVfxPreviewRuntime()

eve::stylize_editing::MeshVfxPreviewRuntime::MeshVfxPreviewRuntime ( )
default

Mesh vfx preview runtime.

◆ ~MeshVfxPreviewRuntime()

eve::stylize_editing::MeshVfxPreviewRuntime::~MeshVfxPreviewRuntime ( )
default

Mesh vfx preview runtime.

成员函数说明

◆ instance()

stylize::MeshVfxAssetInstance * eve::stylize_editing::MeshVfxPreviewRuntime::instance ( )
inlinenoexcept

Return the active preview instance, or null before publication.

在文件 MeshVfxTarget.h 第 112 行定义.

◆ publish()

Result< void > eve::stylize_editing::MeshVfxPreviewRuntime::publish ( const MeshVfxAssetTarget &  document)

Build every runtime layer before atomically replacing the active preview.

在文件 MeshVfxTarget.cpp 第 187 行定义.

引用了 eve::stylize_editing::MeshVfxAssetTarget::asset(), eve::stylize::MeshVfxAssetInstance::create() , 以及 eve::editing::EditableTargetState::revision().

◆ revision()

Revision eve::stylize_editing::MeshVfxPreviewRuntime::revision ( ) const
inlinenoexcept

Return the active document revision, or zero before publication.

在文件 MeshVfxTarget.h 第 114 行定义.


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