载入中...
搜索中...
未找到
ActionTimeline.h
浏览该文件的文档.
83[[nodiscard]] EVENGINE_API_PLATFORM std::string_view actionBlendCurveName(ActionBlendCurve curve) noexcept;
93[[nodiscard]] EVENGINE_API_PLATFORM double evaluateActionBlendCurve(ActionBlendCurve curve, double normalized) noexcept;
108[[nodiscard]] EVENGINE_API_PLATFORM std::string_view actionTrackKindName(ActionTrackKind kind) noexcept;
110[[nodiscard]] EVENGINE_API_PLATFORM Result<ActionTrackKind> parseActionTrackKind(std::string_view text);
222 [[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:414
Definition AbilityAsset.cpp:13
std::string_view actionTrackKindName(ActionTrackKind kind) noexcept
Stable lowercase protocol spelling for a track kind.
Definition ActionTimeline.cpp:241
std::optional< ActionBlendCurve > actionBlendCurveFromName(std::string_view name) noexcept
Parse a persisted montage cross-fade curve name.
Definition ActionTimeline.cpp:220
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:255
std::string_view actionBlendCurveName(ActionBlendCurve curve) noexcept
Stable persisted name for a montage cross-fade curve.
Definition ActionTimeline.cpp:209
@ StateExit
@ StateEnter
ActionTimelineEventKind
Boundary emitted by deterministic timeline sampling.
Definition ActionTimeline.h:152
ActionTrackKind
Semantic lane kind; hosts choose presentation without changing data.
Definition ActionTimeline.h:96
@ Movement
@ Animation
ActionBlendCurve
Built-in deterministic cross-fade curve evaluated without asset callbacks.
Definition ActionTimeline.h:30
@ SmoothStep
@ EaseInOut
double evaluateActionBlendCurve(ActionBlendCurve curve, double normalized) noexcept
Evaluate a deterministic built-in blend curve for a normalized input.
Definition ActionTimeline.cpp:229
Owning per-step sample of one currently active timeline state.
Definition ActionTimeline.h:173
auto operator<=>(const ActionActiveBlock &) const =default
Operator <=>.
Objective animation segment placed on the montage presentation lane.
Definition ActionTimeline.h:61
auto operator<=>(const ActionAnimationSection &) const =default
Operator <=>.
Duration blendOut
Duration of the outgoing envelope before a following gap.
Definition ActionTimeline.h:68
Duration sourceEnd
Clip-local trim-out timestamp; zero means the physical clip end.
Definition ActionTimeline.h:72
ActionBlendCurve blendOutCurve
Curve used for the outgoing envelope before a following gap.
Definition ActionTimeline.h:76
std::string animationUri
Definition ActionTimeline.h:63
Montage-wide presentation settings persisted with the action timeline.
Definition ActionTimeline.h:39
bool rootMotionRotation
Definition ActionTimeline.h:49
bool rootMotionVertical
Definition ActionTimeline.h:48
auto operator<=>(const ActionMontageSettings &) const =default
Operator <=>.
Duration blendOutOffset
Definition ActionTimeline.h:46
std::uint32_t animationLayer
Definition ActionTimeline.h:43
Duration defaultBlendIn
Definition ActionTimeline.h:44
bool rootMotionHorizontal
Definition ActionTimeline.h:47
Duration defaultBlendOut
Definition ActionTimeline.h:45
Typed interval with explicit enter/exit boundaries.
Definition ActionTimeline.h:125
auto operator<=>(const ActionNotifyState &) const =default
Operator <=>.
Instantaneous typed event placed on an action track.
Definition ActionTimeline.h:113
auto operator<=>(const ActionNotify &) const =default
Operator <=>.
Owning event projection returned by the runtime sampler.
Definition ActionTimeline.h:160
auto operator<=>(const ActionTimelineEvent &) const =default
Operator <=>.
Canonical action timeline asset shared by runtime and editor.
Definition ActionTimeline.h:192
std::size_t sectionCount() const noexcept
Number of objective physical sections.
Definition ActionTimeline.h:213
std::vector< ActionAnimationSection > animationSections
Definition ActionTimeline.h:198
std::string animationUri
Compatibility-only single-clip projection; v2 runtime uses animationSections.
Definition ActionTimeline.h:197
std::vector< Duration > splitTimestamps
Sorted objective split timestamps forming N+1 physical sections.
Definition ActionTimeline.h:206
Ordered semantic lane in one action timeline.
Definition ActionTimeline.h:138
std::vector< ActionNotifyState > states
Definition ActionTimeline.h:145
std::vector< ActionNotify > notifies
Definition ActionTimeline.h:144
auto operator<=>(const ActionTrack &) const =default
Operator <=>.