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

Immutable animation preview provider retained by submitted jobs across replacement. @thread Worker only; inputs are job-owned and borrowed for the call. No editor pointers or callbacks. @reentrancy Shared providers can be called concurrently by different sessions; mutable provider state must be synchronized. 更多...

#include <AnimationClipPreview.h>

Public 成员函数

virtual ~IAnimationClipPreviewProvider ()=default
 
virtual animation_editing::Result< AnimationPreviewPublication > generate (const animation_editing::AnimationClipDocumentTarget &document, double time, const std::vector< AnimationPreviewBone > &skeleton, const std::string &selectedBone, const editing::TaskContext &context) const =0
 Sample pose and build its overlay from one document snapshot. @cost Linear in authored keys and skeleton size per invalidation; result is consumed without recomputation.
 

详细描述

Immutable animation preview provider retained by submitted jobs across replacement. @thread Worker only; inputs are job-owned and borrowed for the call. No editor pointers or callbacks. @reentrancy Shared providers can be called concurrently by different sessions; mutable provider state must be synchronized.

注解
Final shared-provider release may run on the owner or worker thread; provider destruction must support both. @lifetime Computation must be bounded and cooperate with cancellation; destruction joins the worker.

在文件 AnimationClipPreview.h 第 30 行定义.

构造及析构函数说明

◆ ~IAnimationClipPreviewProvider()

virtual eve::animation_editor::IAnimationClipPreviewProvider::~IAnimationClipPreviewProvider ( )
virtualdefault

成员函数说明

◆ generate()

virtual animation_editing::Result< AnimationPreviewPublication > eve::animation_editor::IAnimationClipPreviewProvider::generate ( const animation_editing::AnimationClipDocumentTarget &  document,
double  time,
const std::vector< AnimationPreviewBone > &  skeleton,
const std::string &  selectedBone,
const editing::TaskContext &  context 
) const
pure virtual

Sample pose and build its overlay from one document snapshot. @cost Linear in authored keys and skeleton size per invalidation; result is consumed without recomputation.


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