Call-local adapter for clip settings and the selected transform key. @ownership Borrows editor for this adapter's lifetime; no UI or history ownership. @thread Owner thread only; no callbacks. 更多...
#include <AnimationClipPresentation.h>
Public 成员函数 | |
| AnimationClipPresentation (AnimationClipEditor &source) | |
| Borrow an editor for synchronous presentation calls. | |
| editor::WorkspacePresentationState | state () const override |
| Snapshot of document revision, selection/playhead context and history availability. | |
| editor::PropertySchema | schema () const override |
| Owning schema; field identity is its canonical property path. | |
| editor::PropertyReadResult | read (const editor::PropertyPath &path) const override |
| Read a field for the current selection without mutation. | |
| editor::Result< void > | write (const editor::PropertyPath &path, const editor::EditorValue &value) override |
| Commit one validated field through the domain's existing transaction path. | |
| editor::Result< void > | action (std::string_view id) override |
| Execute a domain action, including undo/redo on its sole history backend. | |
Public 成员函数 继承自 eve::editor::IWorkspacePresentationSource | |
| virtual | ~IWorkspacePresentationSource ()=default |
详细描述
Call-local adapter for clip settings and the selected transform key. @ownership Borrows editor for this adapter's lifetime; no UI or history ownership. @thread Owner thread only; no callbacks.
在文件 AnimationClipPresentation.h 第 13 行定义.
构造及析构函数说明
◆ AnimationClipPresentation()
|
inlineexplicit |
Borrow an editor for synchronous presentation calls.
在文件 AnimationClipPresentation.h 第 16 行定义.
成员函数说明
◆ action()
|
overridevirtual |
Execute a domain action, including undo/redo on its sole history backend.
实现了 eve::editor::IWorkspacePresentationSource.
在文件 AnimationClipPresentation.cpp 第 109 行定义.
引用了 eve::animation_editor::AnimationClipEditor::deleteSelectedKey(), eve::Result< T >::failure(), eve::animation_editor::AnimationClipEditor::isPlaying(), eve::animation_editor::AnimationClipEditor::keySelectedBone(), eve::animation_editor::AnimationClipEditor::pause(), eve::animation_editor::AnimationClipEditor::play(), eve::animation_editor::AnimationClipEditor::redo(), result, eve::animation_editor::AnimationClipEditor::stop() , 以及 eve::animation_editor::AnimationClipEditor::undo().
◆ read()
|
overridevirtual |
Read a field for the current selection without mutation.
实现了 eve::editor::IWorkspacePresentationSource.
在文件 AnimationClipPresentation.cpp 第 44 行定义.
引用了 eve::animation_editor::AnimationClipEditor::duration(), eve::animation_editor::AnimationClipEditor::isLooping(), p, path, eve::animation_editor::AnimationClipEditor::sampleRate(), eve::animation_editor::AnimationClipEditor::selectedKeyTime(), eve::animation_editor::AnimationClipEditor::selectedMaskWeight(), eve::animation_editor::AnimationClipEditor::selectedPositionX(), eve::animation_editor::AnimationClipEditor::selectedPositionY(), eve::animation_editor::AnimationClipEditor::selectedPositionZ(), eve::animation_editor::AnimationClipEditor::selectedRotationX(), eve::animation_editor::AnimationClipEditor::selectedRotationY(), eve::animation_editor::AnimationClipEditor::selectedRotationZ(), eve::animation_editor::AnimationClipEditor::selectedScaleX(), eve::animation_editor::AnimationClipEditor::selectedScaleY(), eve::animation_editor::AnimationClipEditor::selectedScaleZ(), value , 以及 eve::editing::PropertyReadResult::value.
◆ schema()
|
overridevirtual |
Owning schema; field identity is its canonical property path.
实现了 eve::editor::IWorkspacePresentationSource.
在文件 AnimationClipPresentation.cpp 第 14 行定义.
引用了 axis, eve::animation_editor::AnimationClipEditor::duration(), group, eve::animation_editor::AnimationClipEditor::hasSelectedKey(), label, loop, maximum, minimum, number, path, eve::editing::PropertyDescriptor::path, eve::editing::PropertySchema::properties, schema() , 以及 eve::editing::PropertySchema::typeId.
◆ state()
|
overridevirtual |
Snapshot of document revision, selection/playhead context and history availability.
实现了 eve::editor::IWorkspacePresentationSource.
在文件 AnimationClipPresentation.cpp 第 6 行定义.
引用了 eve::animation_editor::AnimationClipEditor::canRedo(), eve::animation_editor::AnimationClipEditor::canUndo(), eve::animation_editor::AnimationClipEditor::isPlaying(), eve::animation_editor::AnimationClipEditor::playhead(), eve::animation_editor::AnimationClipEditor::revision(), eve::animation_editor::AnimationClipEditor::selectedBone(), eve::animation_editor::AnimationClipEditor::selectedKeyId(), eve::animation_editor::AnimationClipEditor::target(), eve::animation_editing::AnimationClipDocumentTarget::targetId(), targetId , 以及 eve::UuidIdAdapter< Tag >::value().
◆ write()
|
overridevirtual |
Commit one validated field through the domain's existing transaction path.
实现了 eve::editor::IWorkspacePresentationSource.
在文件 AnimationClipPresentation.cpp 第 79 行定义.
引用了 descriptor, eve::editing::PropertySchema::find(), eve::animation_editor::AnimationClipEditor::moveSelectedKey(), p, path, schema(), eve::animation_editor::AnimationClipEditor::selectedPositionX(), eve::animation_editor::AnimationClipEditor::selectedPositionY(), eve::animation_editor::AnimationClipEditor::selectedPositionZ(), eve::animation_editor::AnimationClipEditor::selectedRotationX(), eve::animation_editor::AnimationClipEditor::selectedRotationY(), eve::animation_editor::AnimationClipEditor::selectedRotationZ(), eve::animation_editor::AnimationClipEditor::selectedScaleX(), eve::animation_editor::AnimationClipEditor::selectedScaleY(), eve::animation_editor::AnimationClipEditor::selectedScaleZ(), eve::animation_editor::AnimationClipEditor::setDuration(), eve::animation_editor::AnimationClipEditor::setLoop(), eve::animation_editor::AnimationClipEditor::setMaskWeight(), eve::animation_editor::AnimationClipEditor::setSampleRate(), eve::animation_editor::AnimationClipEditor::setSelectedPosition(), eve::animation_editor::AnimationClipEditor::setSelectedRotation(), eve::animation_editor::AnimationClipEditor::setSelectedScale(), v, valid , 以及 value.
该类的文档由以下文件生成:
- src/modules/animation/editor/AnimationClipPresentation.h
- src/modules/animation/editor/AnimationClipPresentation.cpp
Public 成员函数 继承自