载入中...
搜索中...
未找到
AnimationClipPreview.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4#include <memory>
7
8namespace eve::editing {
9class TaskContext;
10}
11namespace eve::animation_editor {
14 std::string name;
15 std::string parent;
16};
31public:
32 virtual ~IAnimationClipPreviewProvider() = default;
38 const std::vector<AnimationPreviewBone>& skeleton, const std::string& selectedBone,
39 const editing::TaskContext& context) const = 0;
40};
42[[nodiscard]] EVENGINE_API_EDITORS std::shared_ptr<const IAnimationClipPreviewProvider>
44} // namespace eve::animation_editor
#define EVENGINE_API_EDITORS
Definition Export.h:112
const VegetationPresetContext & context
Move-only operation result carrying either a value or Status.
Definition Result.h:176
UI-neutral animation clip document with reversible stable-id timeline edits.
Immutable animation preview provider retained by submitted jobs across replacement....
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 skele...
Cooperative cancellation and progress API passed to worker code.
std::shared_ptr< const IAnimationClipPreviewProvider > makeAnimationClipPreviewProvider()
Create the deterministic CPU pose/overlay provider.
Immutable timeline scrub result tied to one document revision.
Owning hierarchy metadata used only by a preview worker.
Atomic pose and overlay publication from a single immutable input revision.
animation_editing::AnimationClipPreview pose
Immutable revision-tagged overlay snapshot consumed by any viewport renderer.