载入中...
搜索中...
未找到
ActionTimelineSettings.cpp
浏览该文件的文档.
2
3namespace eve::editor {
4
6 action::ActionTimeline candidate = target_.timeline();
7 if (candidate.montage == settings) return eve::editing::noOp();
8 candidate.montage = std::move(settings);
9 return commit(std::move(candidate), "Edit montage settings", "action.timeline.montage.settings");
10}
11
12} // namespace eve::editor
UI-neutral transactional action timeline editor and preview model.
TerrainThermalSettings settings
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Result< void > setMontageSettings(action::ActionMontageSettings settings)
Replace montage-wide playback, blending, layer and root-motion settings in one undo step.
const action::ActionTimeline & timeline() const noexcept
Borrow the authoritative timeline until the next mutation.
Result< void > noOp(std::vector< Diagnostic > diagnostics={})
Construct a successful void result for an operation that made no change.
Montage-wide presentation settings persisted with the action timeline.
Canonical action timeline asset shared by runtime and editor.
ActionMontageSettings montage