载入中...
搜索中...
未找到
ActionTimeline.h
浏览该文件的文档.
76[[nodiscard]] EVENGINE_API_PLATFORM std::string_view actionBlendCurveName(ActionBlendCurve curve) noexcept;
94[[nodiscard]] EVENGINE_API_PLATFORM std::string_view actionTrackKindName(ActionTrackKind kind) noexcept;
96[[nodiscard]] EVENGINE_API_PLATFORM Result<ActionTrackKind> parseActionTrackKind(std::string_view text);
203 [[nodiscard]] Result<std::vector<ActionTimelineEvent>> sample(Duration previous, Duration current,
Strong identity values shared by persistence, content and logical-name APIs.
Move-only, checked operation results for the common layer.
Persistent data-contract version identity.
Common time values and an injectable deterministic simulation clock.
Owning, renderer-independent dynamic values.
Human-readable, scoped identifier in the form namespace:name.
Definition Identity.h:411
Definition AbilityAsset.cpp:9
std::string_view actionTrackKindName(ActionTrackKind kind) noexcept
Stable lowercase protocol spelling for a track kind.
Definition ActionTimeline.cpp:196
std::optional< ActionBlendCurve > actionBlendCurveFromName(std::string_view name) noexcept
Parse a persisted montage cross-fade curve name.
Definition ActionTimeline.cpp:190
constexpr std::uint64_t kActionTimelineSchemaVersion
Current action timeline schema version.
Definition ActionTimeline.h:27
constexpr std::string_view kActionTimelineSchemaId
Canonical schema identifier for persisted action timelines.
Definition ActionTimeline.h:25
Result< ActionTrackKind > parseActionTrackKind(std::string_view text)
Parse a stable track kind spelling.
Definition ActionTimeline.cpp:210
std::string_view actionBlendCurveName(ActionBlendCurve curve) noexcept
Stable persisted name for a montage cross-fade curve.
Definition ActionTimeline.cpp:182
@ StateExit
@ StateEnter
ActionTimelineEventKind
Boundary emitted by deterministic timeline sampling.
Definition ActionTimeline.h:138
ActionTrackKind
Semantic lane kind; hosts choose presentation without changing data.
Definition ActionTimeline.h:82
@ Movement
@ Animation
ActionBlendCurve
Built-in deterministic cross-fade curve evaluated without asset callbacks.
Definition ActionTimeline.h:30
@ EaseInOut
Owning per-step sample of one currently active timeline state.
Definition ActionTimeline.h:159
auto operator<=>(const ActionActiveBlock &) const =default
Operator <=>.
Objective animation segment placed on the montage presentation lane.
Definition ActionTimeline.h:58
auto operator<=>(const ActionAnimationSection &) const =default
Operator <=>.
Duration sourceEnd
Clip-local trim-out timestamp; zero means the physical clip end.
Definition ActionTimeline.h:67
std::string animationUri
Definition ActionTimeline.h:60
Montage-wide presentation settings persisted with the action timeline.
Definition ActionTimeline.h:36
bool rootMotionRotation
Definition ActionTimeline.h:46
bool rootMotionVertical
Definition ActionTimeline.h:45
auto operator<=>(const ActionMontageSettings &) const =default
Operator <=>.
Duration blendOutOffset
Definition ActionTimeline.h:43
std::uint32_t animationLayer
Definition ActionTimeline.h:40
Duration defaultBlendIn
Definition ActionTimeline.h:41
bool rootMotionHorizontal
Definition ActionTimeline.h:44
Duration defaultBlendOut
Definition ActionTimeline.h:42
Typed interval with explicit enter/exit boundaries.
Definition ActionTimeline.h:111
auto operator<=>(const ActionNotifyState &) const =default
Operator <=>.
Instantaneous typed event placed on an action track.
Definition ActionTimeline.h:99
auto operator<=>(const ActionNotify &) const =default
Operator <=>.
Owning event projection returned by the runtime sampler.
Definition ActionTimeline.h:146
auto operator<=>(const ActionTimelineEvent &) const =default
Operator <=>.
Canonical action timeline asset shared by runtime and editor.
Definition ActionTimeline.h:178
std::size_t sectionCount() const noexcept
Number of objective physical sections.
Definition ActionTimeline.h:194
std::vector< ActionAnimationSection > animationSections
Definition ActionTimeline.h:184
std::string animationUri
Compatibility-only single-clip projection; v2 runtime uses animationSections.
Definition ActionTimeline.h:183
std::vector< Duration > splitTimestamps
Sorted objective split timestamps forming N+1 physical sections.
Definition ActionTimeline.h:187
Ordered semantic lane in one action timeline.
Definition ActionTimeline.h:124
std::vector< ActionNotifyState > states
Definition ActionTimeline.h:131
std::vector< ActionNotify > notifies
Definition ActionTimeline.h:130
auto operator<=>(const ActionTrack &) const =default
Operator <=>.