载入中...
搜索中...
未找到
ActionPreview.h
浏览该文件的文档.
19enum class ActionPreviewCueKind : std::uint8_t { Gameplay, Vfx, Audio, Camera, StateEnter, StateExit };
Versioned, deterministic authoring timeline for gameplay actions.
Human-readable, scoped identifier in the form namespace:name.
Definition Identity.h:411
Optional owner-thread provider of one independently owned action preview layer.
Definition ActionPreview.h:78
virtual ~IActionPreviewSinkProvider()=default
Releases IActionPreviewSinkProvider resources.
virtual Result< std::unique_ptr< IActionPreviewSink > > createActionPreviewSink()=0
Create one isolated preview sink owned by the caller.
Host boundary for 3D animation, VFX, audio and camera preview.
Definition ActionPreview.h:59
virtual Result< void > prepare(const ActionPreviewFrame &frame)=0
Validate and stage every resource required by a frame.
virtual void present(const ActionPreviewFrame &frame) noexcept=0
Publish one successfully prepared frame without failure or callbacks.
virtual ~IActionPreviewSink()=default
Releases IActionPreviewSink resources.
virtual void discardPrepared() noexcept=0
Discard staged resources when the authoritative transport commit fails.
Optional animation provider that samples an owning root-motion polyline.
Definition ActionPreview.h:88
virtual ~IActionRootMotionSource()=default
Releases IActionRootMotionSource resources.
virtual Result< std::vector< ActionPreviewPoint3 > > sampleRootMotion(std::string_view animationUri, Duration duration, std::uint32_t sampleCount) const =0
Sample animation root motion from zero through duration, including both endpoints.
Definition AbilityAsset.cpp:9
ActionPreviewCueKind
Semantic presentation channel selected for one timeline boundary.
Definition ActionPreview.h:19
@ StateExit
@ StateEnter
RootMotionPreviewState
Explicit availability of root-motion preview data.
Definition ActionPreview.h:22
@ Unavailable
Owning presentation cue derived from a canonical timeline event.
Definition ActionPreview.h:32
Complete frame atomically prepared and then presented by a preview host.
Definition ActionPreview.h:41
std::vector< ActionActiveBlock > activeBlocks
Owning state-block samples active at current for isolated scene reconciliation.
Definition ActionPreview.h:48
RootMotionPreviewState rootMotionState
Definition ActionPreview.h:49
std::vector< ActionPreviewCue > cues
Definition ActionPreview.h:46
std::vector< ActionPreviewPoint3 > rootMotionPath
Definition ActionPreview.h:50
One owning 3D point in an animation root-motion trajectory.
Definition ActionPreview.h:25