载入中...
搜索中...
未找到
eve::editor::ActionTimelineEditor类 参考

Timeline editing controller shared by developer and in-game editors. 更多...

#include <ActionTimelineEditor.h>

Public 成员函数

 ActionTimelineEditor (std::string targetId, action::ActionTimeline timeline)
 Construct a self-contained editor for one canonical timeline.
 
 ActionTimelineEditor (std::string targetId, action::ActionTimeline timeline, std::shared_ptr< ActionTimelineClipboard > clipboard)
 Construct an editor using an explicitly shared owning clipboard.
 
const ActionTimelineTarget & target () const noexcept
 Borrow the authoritative target.
 
Result< void > reloadDocument (const EditorValue &snapshot)
 Atomically replace the document snapshot and clear history, selection and preview transport.
 
Result< void > configureWorkspace (EditorWorkspace &workspace) const
 Atomically install the standard asset/preview/timeline/inspector panel composition.
 
Result< void > addTrack (action::ActionTrack track)
 Add an empty semantic track.
 
Result< void > removeTrack (const LogicalId &trackId)
 Remove one semantic track and all of its items in one undoable transaction.
 
Result< void > renameTrack (const LogicalId &trackId, std::string label)
 Rename one track without changing its stable identity.
 
Result< void > setMontageSettings (action::ActionMontageSettings settings)
 Replace montage-wide playback, blending, layer and root-motion settings in one undo step.
 
Result< void > addSectionSplit (Duration time)
 Insert one physical-section split strictly inside the montage duration.
 
Result< void > setSectionSplit (std::size_t index, Duration time)
 Move one indexed physical-section split while preserving strict ordering.
 
Result< void > removeSectionSplit (std::size_t index)
 Remove one indexed physical-section split.
 
Result< void > addAnimationSection (action::ActionAnimationSection section)
 Add one objective animation section to the montage lane.
 
Result< void > moveAnimationSection (const LogicalId &sectionId, Duration delta)
 Move an animation section while preserving its duration.
 
Result< void > resizeAnimationSection (const LogicalId &sectionId, Duration start, Duration end, Duration blendIn)
 Resize an animation section and its incoming blend window.
 
Result< void > editAnimationSection (const LogicalId &sectionId, Duration start, Duration end, Duration blendIn, std::string animationUri)
 Atomically edit section timing, blend and animation resource URI.
 
Result< void > editAnimationSectionSource (const LogicalId &sectionId, Duration sourceStart, Duration sourceEnd, action::ActionBlendCurve blendCurve)
 Atomically edit clip-local trim and incoming blend curve.
 
Result< void > editAnimationSectionEnvelope (const LogicalId &sectionId, Duration blendIn, Duration blendOut, action::ActionBlendCurve blendInCurve, action::ActionBlendCurve blendOutCurve)
 Atomically edit independent incoming and outgoing section envelopes.
 
Result< void > editAnimationSectionFull (action::ActionAnimationSection section)
 Replace every editable animation-section field in one undo step.
 
Result< void > removeAnimationSection (const LogicalId &sectionId)
 Remove one animation section from the montage lane.
 
Result< void > addNotify (const LogicalId &trackId, action::ActionNotify notify)
 Add an instantaneous notify to an unlocked track.
 
Result< void > addState (const LogicalId &trackId, action::ActionNotifyState state)
 Add a notify state interval to an unlocked track.
 
Result< void > moveItem (const LogicalId &itemId, Duration delta)
 Move one notify or state by an exact deterministic delta.
 
Result< void > resizeState (const LogicalId &itemId, Duration start, Duration end)
 Resize one notify-state interval to exact validated boundaries.
 
Result< void > updateItem (const LogicalId &itemId, LogicalId type, Value::Object payload)
 Replace one item's type and owning payload through one undoable transaction.
 
Result< void > addParameterKey (const LogicalId &itemId, action::ActionParameterKey key)
 Insert one normalized key into a parameter curve as an undoable edit.
 
Result< void > editParameterKey (const LogicalId &itemId, std::size_t index, action::ActionParameterKey key)
 Replace one indexed parameter key as an undoable edit.
 
Result< void > removeParameterKey (const LogicalId &itemId, std::size_t index)
 Remove one non-endpoint parameter key as an undoable edit.
 
Result< void > editItem (const LogicalId &itemId, Duration start, Duration end, LogicalId type, Value::Object payload)
 Atomically replace one item's timing, type and owning payload.
 
Result< void > setItemEnabled (const LogicalId &itemId, bool enabled)
 Enable or disable one notify/state through an undoable transaction.
 
Result< void > removeItem (const LogicalId &itemId)
 Remove one notify or state.
 
Result< void > setTrackMuted (const LogicalId &trackId, bool muted)
 Mute/unmute one track through an undoable operation.
 
Result< void > setTrackLocked (const LogicalId &trackId, bool locked)
 Lock/unlock one track through an undoable operation.
 
Result< std::size_t > boxSelect (Duration start, Duration end)
 Replace selection with items intersecting a time interval.
 
void clearSelection ()
 Clear selection.
 
Result< void > selectItem (const LogicalId &itemId, bool additive=false)
 Select one existing item, optionally preserving the current selection.
 
std::size_t selectionCount () const noexcept
 Number of selected timeline items.
 
std::vector< LogicalId > selectedItemIds () const
 Return selected item IDs in lexical order as owning values.
 
Result< TimelineSelectionRange > selectionRange () const
 Return the outer bounds of every selected section, notify and notify-state.
 
Result< void > moveSelection (Duration delta)
 Move the complete selection by one exact delta in a single undoable transaction.
 
Result< void > alignSelectionStart ()
 Align selected item starts to the earliest selected start while preserving item durations.
 
Result< void > alignSelectionEnd ()
 Align selected item ends to the latest selected end while preserving item durations.
 
Result< void > scaleSelection (Duration start, Duration end)
 Proportionally fit the complete selection into exact destination bounds.
 
Result< std::size_t > copySelection ()
 Copy selected items into an owning editor clipboard.
 
Result< std::size_t > paste (Duration offset)
 Paste copied items at an exact offset with new stable ids.
 
Result< std::size_t > pasteToTrack (const LogicalId &trackId, Duration offset)
 Paste copied notify items into a chosen target track for cross-document workflows.
 
Result< void > copyTrack (const LogicalId &trackId)
 Deep-copy one complete track into the shared clipboard.
 
Result< LogicalId > pasteTrack ()
 Paste a copied complete track with collision-free track and item ids.
 
Result< void > deleteSelection ()
 Delete every selected item as one transaction.
 
Result< TransactionReceipt > undo ()
 Undo the latest committed edit.
 
Result< TransactionReceipt > redo ()
 Redo the latest compensated edit.
 
bool canUndo () const noexcept
 Whether undo history is non-empty.
 
bool canRedo () const noexcept
 Whether redo history is non-empty.
 
void play () noexcept
 Begin preview playback from the current cursor.
 
void pause () noexcept
 Pause preview playback.
 
Result< void > stop ()
 Pause and return the preview cursor to the first frame.
 
Result< Duration > frameStepTarget (std::int64_t frames, double frameRate) const
 Resolve a signed frame step without mutating transport state.
 
Result< void > stepFrames (std::int64_t frames, double frameRate)
 Pause and move by a signed number of frames, clamped to the timeline.
 
Result< void > jumpToEnd ()
 Pause and move the cursor to the final frame boundary.
 
Result< void > seek (Duration time)
 Seek preview without emitting crossed events.
 
Result< std::size_t > update (Duration delta)
 Advance preview by injected time and collect crossed events.
 
Result< ActionTimelinePreviewPlan > planPreview (Duration delta) const
 Prepare a preview advance without mutating transport state.
 
Result< std::size_t > applyPreviewPlan (ActionTimelinePreviewPlan plan)
 Commit an unchanged prepared preview advance.
 
Duration previewTime () const noexcept
 Current deterministic preview cursor.
 
bool playing () const noexcept
 Whether preview transport is playing.
 
const std::vector< action::ActionTimelineEvent > & previewEvents () const noexcept
 Events crossed by the latest preview update.
 

详细描述

Timeline editing controller shared by developer and in-game editors.

It owns selection, clipboard, preview transport and local undo history, but never a second timeline. Every edit creates an invertible DomainOperation and commits through the same authority/transaction path as other editors. All methods are owner-thread-only and invoke no external callbacks.

在文件 ActionTimelineEditor.h 第 162 行定义.

构造及析构函数说明

◆ ActionTimelineEditor() [1/2]

eve::editor::ActionTimelineEditor::ActionTimelineEditor ( std::string  targetId,
action::ActionTimeline  timeline 
)

Construct a self-contained editor for one canonical timeline.

在文件 ActionTimelineEditor.cpp 第 311 行定义.

◆ ActionTimelineEditor() [2/2]

eve::editor::ActionTimelineEditor::ActionTimelineEditor ( std::string  targetId,
action::ActionTimeline  timeline,
std::shared_ptr< ActionTimelineClipboard >  clipboard 
)

Construct an editor using an explicitly shared owning clipboard.

参数
targetIdStable editor target identity.
timelineValid canonical timeline owned by this editor.
clipboardClipboard whose shared ownership is retained; null creates an isolated clipboard.

在文件 ActionTimelineEditor.cpp 第 314 行定义.

成员函数说明

◆ addAnimationSection()

Result< void > eve::editor::ActionTimelineEditor::addAnimationSection ( action::ActionAnimationSection  section)

Add one objective animation section to the montage lane.

在文件 ActionTimelineEditor.cpp 第 481 行定义.

引用了 eve::action::ActionTimeline::animationSections , 以及 eve::editor::ActionTimelineTarget::timeline().

◆ addNotify()

Result< void > eve::editor::ActionTimelineEditor::addNotify ( const LogicalId &  trackId,
action::ActionNotify  notify 
)

Add an instantaneous notify to an unlocked track.

在文件 ActionTimelineEditor.cpp 第 578 行定义.

引用了 eve::editor::ActionTimelineTarget::timeline() , 以及 trackId.

◆ addParameterKey()

Result< void > eve::editor::ActionTimelineEditor::addParameterKey ( const LogicalId &  itemId,
action::ActionParameterKey  key 
)

◆ addSectionSplit()

Result< void > eve::editor::ActionTimelineEditor::addSectionSplit ( Duration  time)

Insert one physical-section split strictly inside the montage duration.

在文件 ActionTimelineEditor.cpp 第 447 行定义.

引用了 eve::action::ActionTimeline::duration, eve::action::ActionTimeline::splitTimestamps, time, eve::editor::ActionTimelineTarget::timeline() , 以及 eve::Duration::zero().

◆ addState()

Result< void > eve::editor::ActionTimelineEditor::addState ( const LogicalId &  trackId,
action::ActionNotifyState  state 
)

Add a notify state interval to an unlocked track.

在文件 ActionTimelineEditor.cpp 第 588 行定义.

引用了 state, eve::editor::ActionTimelineTarget::timeline() , 以及 trackId.

◆ addTrack()

Result< void > eve::editor::ActionTimelineEditor::addTrack ( action::ActionTrack  track)

Add an empty semantic track.

在文件 ActionTimelineEditor.cpp 第 420 行定义.

引用了 eve::editor::ActionTimelineTarget::timeline() , 以及 eve::action::ActionTimeline::tracks.

◆ alignSelectionEnd()

Result< void > eve::editor::ActionTimelineEditor::alignSelectionEnd ( )

◆ alignSelectionStart()

Result< void > eve::editor::ActionTimelineEditor::alignSelectionStart ( )

◆ applyPreviewPlan()

Result< std::size_t > eve::editor::ActionTimelineEditor::applyPreviewPlan ( ActionTimelinePreviewPlan  plan)

Commit an unchanged prepared preview advance.

在文件 ActionTimelineEditor.cpp 第 1129 行定义.

被这些函数引用 eve::editor::ActionPreviewController::update().

◆ boxSelect()

Result< std::size_t > eve::editor::ActionTimelineEditor::boxSelect ( Duration  start,
Duration  end 
)

◆ canRedo()

bool eve::editor::ActionTimelineEditor::canRedo ( ) const
inlinenoexcept

Whether redo history is non-empty.

在文件 ActionTimelineEditor.h 第 298 行定义.

◆ canUndo()

bool eve::editor::ActionTimelineEditor::canUndo ( ) const
inlinenoexcept

Whether undo history is non-empty.

在文件 ActionTimelineEditor.h 第 296 行定义.

◆ clearSelection()

void eve::editor::ActionTimelineEditor::clearSelection ( )
inline

Clear selection.

在文件 ActionTimelineEditor.h 第 258 行定义.

◆ configureWorkspace()

Result< void > eve::editor::ActionTimelineEditor::configureWorkspace ( EditorWorkspace &  workspace) const

◆ copySelection()

Result< std::size_t > eve::editor::ActionTimelineEditor::copySelection ( )

Copy selected items into an owning editor clipboard.

在文件 ActionTimelineEditor.cpp 第 884 行定义.

引用了 eve::action::ActionTimeline::animationSections , 以及 eve::editor::ActionTimelineTarget::timeline().

◆ copyTrack()

Result< void > eve::editor::ActionTimelineEditor::copyTrack ( const LogicalId &  trackId)

Deep-copy one complete track into the shared clipboard.

在文件 ActionTimelineEditor.cpp 第 984 行定义.

引用了 trackId.

◆ deleteSelection()

Result< void > eve::editor::ActionTimelineEditor::deleteSelection ( )

Delete every selected item as one transaction.

在文件 ActionTimelineEditor.cpp 第 1013 行定义.

引用了 eve::action::ActionTimeline::animationSections, result , 以及 eve::action::ActionTimeline::tracks.

◆ editAnimationSection()

Result< void > eve::editor::ActionTimelineEditor::editAnimationSection ( const LogicalId &  sectionId,
Duration  start,
Duration  end,
Duration  blendIn,
std::string  animationUri 
)

Atomically edit section timing, blend and animation resource URI.

在文件 ActionTimelineEditor.cpp 第 513 行定义.

引用了 eve::action::ActionTimeline::animationSections, end, found, start , 以及 eve::editor::ActionTimelineTarget::timeline().

被这些函数引用 resizeAnimationSection().

◆ editAnimationSectionEnvelope()

Result< void > eve::editor::ActionTimelineEditor::editAnimationSectionEnvelope ( const LogicalId &  sectionId,
Duration  blendIn,
Duration  blendOut,
action::ActionBlendCurve  blendInCurve,
action::ActionBlendCurve  blendOutCurve 
)

Atomically edit independent incoming and outgoing section envelopes.

参数
sectionIdStable id of the section edited on the owner thread.
blendInIncoming envelope duration.
blendOutOutgoing envelope duration.
blendInCurveDeterministic incoming curve.
blendOutCurveDeterministic outgoing curve.
返回
Applied with one undo entry, or a validation diagnostic without mutation.

在文件 ActionTimelineEditor.cpp 第 542 行定义.

引用了 eve::action::ActionTimeline::animationSections, found , 以及 eve::editor::ActionTimelineTarget::timeline().

◆ editAnimationSectionFull()

Result< void > eve::editor::ActionTimelineEditor::editAnimationSectionFull ( action::ActionAnimationSection  section)

Replace every editable animation-section field in one undo step.

在文件 ActionTimelineEditor.cpp 第 558 行定义.

引用了 eve::action::ActionTimeline::animationSections, found, eve::editor::ActionTimelineTarget::timeline() , 以及 value.

◆ editAnimationSectionSource()

Result< void > eve::editor::ActionTimelineEditor::editAnimationSectionSource ( const LogicalId &  sectionId,
Duration  sourceStart,
Duration  sourceEnd,
action::ActionBlendCurve  blendCurve 
)

Atomically edit clip-local trim and incoming blend curve.

在文件 ActionTimelineEditor.cpp 第 528 行定义.

引用了 eve::action::ActionTimeline::animationSections, found , 以及 eve::editor::ActionTimelineTarget::timeline().

◆ editItem()

◆ editParameterKey()

Result< void > eve::editor::ActionTimelineEditor::editParameterKey ( const LogicalId &  itemId,
std::size_t  index,
action::ActionParameterKey  key 
)

◆ frameStepTarget()

Result< Duration > eve::editor::ActionTimelineEditor::frameStepTarget ( std::int64_t  frames,
double  frameRate 
) const

Resolve a signed frame step without mutating transport state.

参数
framesSigned number of frames; negative values step backward.
frameRateFinite positive frames per second used for deterministic rounding.

在文件 ActionTimelineEditor.cpp 第 1044 行定义.

引用了 eve::Duration::fromSeconds(), maximum , 以及 target.

被这些函数引用 eve::editor::ActionPreviewController::stepFrames().

◆ jumpToEnd()

Result< void > eve::editor::ActionTimelineEditor::jumpToEnd ( )

Pause and move the cursor to the final frame boundary.

在文件 ActionTimelineEditor.cpp 第 1069 行定义.

◆ moveAnimationSection()

Result< void > eve::editor::ActionTimelineEditor::moveAnimationSection ( const LogicalId &  sectionId,
Duration  delta 
)

Move an animation section while preserving its duration.

在文件 ActionTimelineEditor.cpp 第 488 行定义.

引用了 eve::action::ActionTimeline::animationSections, end, found, start , 以及 eve::editor::ActionTimelineTarget::timeline().

◆ moveItem()

Result< void > eve::editor::ActionTimelineEditor::moveItem ( const LogicalId &  itemId,
Duration  delta 
)

Move one notify or state by an exact deterministic delta.

在文件 ActionTimelineEditor.cpp 第 598 行定义.

引用了 end, itemId, start, state, eve::editor::ActionTimelineTarget::timeline() , 以及 eve::action::ActionTimeline::tracks.

◆ moveSelection()

Result< void > eve::editor::ActionTimelineEditor::moveSelection ( Duration  delta)

Move the complete selection by one exact delta in a single undoable transaction.

在文件 ActionTimelineSelection.cpp 第 53 行定义.

引用了 eve::action::ActionTimeline::animationSections, end, start, state, time, eve::editor::ActionTimelineTarget::timeline(), eve::action::ActionTimeline::tracks , 以及 value.

◆ paste()

Result< std::size_t > eve::editor::ActionTimelineEditor::paste ( Duration  offset)

Paste copied items at an exact offset with new stable ids.

在文件 ActionTimelineEditor.cpp 第 909 行定义.

引用了 offset.

◆ pasteToTrack()

Result< std::size_t > eve::editor::ActionTimelineEditor::pasteToTrack ( const LogicalId &  trackId,
Duration  offset 
)

Paste copied notify items into a chosen target track for cross-document workflows.

在文件 ActionTimelineEditor.cpp 第 911 行定义.

引用了 offset , 以及 trackId.

◆ pasteTrack()

Result< LogicalId > eve::editor::ActionTimelineEditor::pasteTrack ( )

Paste a copied complete track with collision-free track and item ids.

在文件 ActionTimelineEditor.cpp 第 992 行定义.

引用了 committed, eve::Result< T >::failure(), state , 以及 eve::action::ActionTimeline::tracks.

◆ pause()

void eve::editor::ActionTimelineEditor::pause ( )
inlinenoexcept

◆ planPreview()

Result< ActionTimelinePreviewPlan > eve::editor::ActionTimelineEditor::planPreview ( Duration  delta) const

Prepare a preview advance without mutating transport state.

在文件 ActionTimelineEditor.cpp 第 1096 行定义.

引用了 current, eve::Status::success(), eve::Result< T >::success() , 以及 eve::Duration::zero().

被这些函数引用 eve::editor::ActionPreviewController::update().

◆ play()

void eve::editor::ActionTimelineEditor::play ( )
inlinenoexcept

Begin preview playback from the current cursor.

在文件 ActionTimelineEditor.h 第 301 行定义.

◆ playing()

bool eve::editor::ActionTimelineEditor::playing ( ) const
inlinenoexcept

Whether preview transport is playing.

在文件 ActionTimelineEditor.h 第 327 行定义.

◆ previewEvents()

const std::vector< action::ActionTimelineEvent > & eve::editor::ActionTimelineEditor::previewEvents ( ) const
inlinenoexcept

Events crossed by the latest preview update.

在文件 ActionTimelineEditor.h 第 329 行定义.

◆ previewTime()

Duration eve::editor::ActionTimelineEditor::previewTime ( ) const
inlinenoexcept

◆ redo()

Result< TransactionReceipt > eve::editor::ActionTimelineEditor::redo ( )

Redo the latest compensated edit.

在文件 ActionTimelineEditor.cpp 第 1036 行定义.

◆ reloadDocument()

Result< void > eve::editor::ActionTimelineEditor::reloadDocument ( const EditorValue &  snapshot)

Atomically replace the document snapshot and clear history, selection and preview transport.

在文件 ActionTimelineEditor.cpp 第 325 行定义.

引用了 eve::editor::LocalTransactionBackend::active(), eve::editor::LocalTransactionBackend::clear(), loaded, eve::editor::ActionTimelineTarget::loadSnapshot(), snapshot , 以及 eve::Duration::zero().

◆ removeAnimationSection()

Result< void > eve::editor::ActionTimelineEditor::removeAnimationSection ( const LogicalId &  sectionId)

Remove one animation section from the montage lane.

在文件 ActionTimelineEditor.cpp 第 569 行定义.

引用了 eve::action::ActionTimeline::animationSections , 以及 eve::editor::ActionTimelineTarget::timeline().

◆ removeItem()

Result< void > eve::editor::ActionTimelineEditor::removeItem ( const LogicalId &  itemId)

◆ removeParameterKey()

Result< void > eve::editor::ActionTimelineEditor::removeParameterKey ( const LogicalId &  itemId,
std::size_t  index 
)

◆ removeSectionSplit()

Result< void > eve::editor::ActionTimelineEditor::removeSectionSplit ( std::size_t  index)

Remove one indexed physical-section split.

在文件 ActionTimelineEditor.cpp 第 473 行定义.

引用了 index, eve::action::ActionTimeline::splitTimestamps , 以及 eve::editor::ActionTimelineTarget::timeline().

◆ removeTrack()

Result< void > eve::editor::ActionTimelineEditor::removeTrack ( const LogicalId &  trackId)

Remove one semantic track and all of its items in one undoable transaction.

在文件 ActionTimelineEditor.cpp 第 426 行定义.

引用了 found, state, eve::editor::ActionTimelineTarget::timeline() , 以及 eve::action::ActionTimeline::tracks.

◆ renameTrack()

Result< void > eve::editor::ActionTimelineEditor::renameTrack ( const LogicalId &  trackId,
std::string  label 
)

Rename one track without changing its stable identity.

在文件 ActionTimelineEditor.cpp 第 438 行定义.

引用了 label, eve::editor::ActionTimelineTarget::timeline() , 以及 trackId.

◆ resizeAnimationSection()

Result< void > eve::editor::ActionTimelineEditor::resizeAnimationSection ( const LogicalId &  sectionId,
Duration  start,
Duration  end,
Duration  blendIn 
)

Resize an animation section and its incoming blend window.

在文件 ActionTimelineEditor.cpp 第 503 行定义.

引用了 eve::action::ActionTimeline::animationSections, editAnimationSection(), end, found, start , 以及 eve::editor::ActionTimelineTarget::timeline().

◆ resizeState()

Result< void > eve::editor::ActionTimelineEditor::resizeState ( const LogicalId &  itemId,
Duration  start,
Duration  end 
)

Resize one notify-state interval to exact validated boundaries.

在文件 ActionTimelineEditor.cpp 第 625 行定义.

引用了 eve::action::ActionTimeline::duration, end, found, start, eve::editor::ActionTimelineTarget::timeline(), eve::action::ActionTimeline::tracks, value , 以及 eve::Duration::zero().

◆ scaleSelection()

Result< void > eve::editor::ActionTimelineEditor::scaleSelection ( Duration  start,
Duration  end 
)

Proportionally fit the complete selection into exact destination bounds.

备注
Relative times and section blend windows are rounded to the nearest nanosecond.

在文件 ActionTimelineSelection.cpp 第 178 行定义.

引用了 eve::action::ActionTimeline::animationSections, blend, eve::action::ActionTimeline::duration, end, eve::Result< T >::failure(), eve::Duration::fromNanoseconds(), offset, range, rate, selectionRange(), start, state, eve::editor::ActionTimelineTarget::timeline(), eve::action::ActionTimeline::tracks, value , 以及 eve::Duration::zero().

◆ seek()

Result< void > eve::editor::ActionTimelineEditor::seek ( Duration  time)

Seek preview without emitting crossed events.

在文件 ActionTimelineEditor.cpp 第 1075 行定义.

引用了 time , 以及 eve::Duration::zero().

被这些函数引用 eve::editor::ActionPreviewController::seek().

◆ selectedItemIds()

std::vector< LogicalId > eve::editor::ActionTimelineEditor::selectedItemIds ( ) const

Return selected item IDs in lexical order as owning values.

在文件 ActionTimelineEditor.cpp 第 874 行定义.

引用了 eve::LogicalId::parse(), result , 以及 value.

被这些函数引用 eve::editor::ActionTimelineWidget::layout().

◆ selectionCount()

std::size_t eve::editor::ActionTimelineEditor::selectionCount ( ) const
inlinenoexcept

Number of selected timeline items.

在文件 ActionTimelineEditor.h 第 262 行定义.

◆ selectionRange()

Result< TimelineSelectionRange > eve::editor::ActionTimelineEditor::selectionRange ( ) const

◆ selectItem()

Result< void > eve::editor::ActionTimelineEditor::selectItem ( const LogicalId &  itemId,
bool  additive = false 
)

Select one existing item, optionally preserving the current selection.

在文件 ActionTimelineEditor.cpp 第 859 行定义.

引用了 eve::action::ActionTimeline::animationSections, found, itemId, eve::editor::ActionTimelineTarget::timeline() , 以及 eve::action::ActionTimeline::tracks.

◆ setItemEnabled()

Result< void > eve::editor::ActionTimelineEditor::setItemEnabled ( const LogicalId &  itemId,
bool  enabled 
)

Enable or disable one notify/state through an undoable transaction.

在文件 ActionTimelineEditor.cpp 第 801 行定义.

引用了 enabled, itemId, eve::editing::noOp(), state, eve::editor::ActionTimelineTarget::timeline() , 以及 eve::action::ActionTimeline::tracks.

◆ setMontageSettings()

Result< void > eve::editor::ActionTimelineEditor::setMontageSettings ( action::ActionMontageSettings  settings)

Replace montage-wide playback, blending, layer and root-motion settings in one undo step.

在文件 ActionTimelineSettings.cpp 第 5 行定义.

引用了 eve::action::ActionTimeline::montage, eve::editing::noOp(), settings , 以及 eve::editor::ActionTimelineTarget::timeline().

◆ setSectionSplit()

Result< void > eve::editor::ActionTimelineEditor::setSectionSplit ( std::size_t  index,
Duration  time 
)

Move one indexed physical-section split while preserving strict ordering.

在文件 ActionTimelineEditor.cpp 第 461 行定义.

引用了 eve::action::ActionTimeline::duration, index, eve::action::ActionTimeline::splitTimestamps, time, eve::editor::ActionTimelineTarget::timeline() , 以及 eve::Duration::zero().

◆ setTrackLocked()

Result< void > eve::editor::ActionTimelineEditor::setTrackLocked ( const LogicalId &  trackId,
bool  locked 
)

Lock/unlock one track through an undoable operation.

在文件 ActionTimelineEditor.cpp 第 833 行定义.

引用了 locked, eve::editor::ActionTimelineTarget::timeline() , 以及 trackId.

◆ setTrackMuted()

Result< void > eve::editor::ActionTimelineEditor::setTrackMuted ( const LogicalId &  trackId,
bool  muted 
)

Mute/unmute one track through an undoable operation.

在文件 ActionTimelineEditor.cpp 第 824 行定义.

引用了 eve::editor::ActionTimelineTarget::timeline() , 以及 trackId.

◆ stepFrames()

Result< void > eve::editor::ActionTimelineEditor::stepFrames ( std::int64_t  frames,
double  frameRate 
)

Pause and move by a signed number of frames, clamped to the timeline.

在文件 ActionTimelineEditor.cpp 第 1061 行定义.

引用了 eve::Result< T >::failure() , 以及 target.

◆ stop()

Result< void > eve::editor::ActionTimelineEditor::stop ( )

Pause and return the preview cursor to the first frame.

在文件 ActionTimelineEditor.cpp 第 1038 行定义.

引用了 eve::Duration::zero().

◆ target()

◆ undo()

Result< TransactionReceipt > eve::editor::ActionTimelineEditor::undo ( )

Undo the latest committed edit.

在文件 ActionTimelineEditor.cpp 第 1034 行定义.

◆ update()

Result< std::size_t > eve::editor::ActionTimelineEditor::update ( Duration  delta)

Advance preview by injected time and collect crossed events.

在文件 ActionTimelineEditor.cpp 第 1084 行定义.

引用了 eve::Status::success() , 以及 eve::Result< T >::success().

◆ updateItem()

Result< void > eve::editor::ActionTimelineEditor::updateItem ( const LogicalId &  itemId,
LogicalId  type,
Value::Object  payload 
)

Replace one item's type and owning payload through one undoable transaction.

在文件 ActionTimelineEditor.cpp 第 642 行定义.

引用了 itemId, payload, state, eve::editor::ActionTimelineTarget::timeline(), eve::action::ActionTimeline::tracks , 以及 type.

被这些函数引用 addParameterKey(), editParameterKey(), eve::editor::ActionTimelinePayloadEditor::patch() , 以及 removeParameterKey().


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