载入中...
搜索中...
未找到
ClimbingAnimation.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
9#include "climbing/Climbing.h"
10
11namespace eve::animation {
12class AnimClip;
13class AnimGraph;
14class AnimPlayer;
15class MotionMatcher;
16} // namespace eve::animation
17
18namespace eve::climbing {
19
22
28
35
46 int rootMotionBone);
47
55
66 animation::AnimPlayer& player, const eve::SimulationStep& step, Vec3 facing, Vec3 pelvisOffset = {});
67
76 animation::AnimGraph& graph, int oneShotNode, ClimbingExecutionId executionId, ClimbingGraphState& state);
77
85 animation::MotionMatcher& matcher, const eve::SimulationStep& step, Vec3 desiredVelocity, float desiredYaw,
86 ClimbingGraphState& state);
87
90 ClimbingGraphState& state) noexcept;
91
92} // namespace eve::climbing
eve::action::ActionExecutionId executionId
Deterministic climbing/parkour planning and capsule-constrained execution.
#define EVENGINE_API_DOMAINS
Definition Export.h:110
glm::vec4 clip
ModuleFacing facing
std::map< std::string, std::vector< std::string > > graph
Definition Package.cpp:59
eve::action::ActionVfxBinding binding
float step
Definition TreeMesh.cpp:314
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Keyframed skeletal animation clip (local TRS tracks per bone). Script type: AnimClip.
Definition AnimClip.h:145
Composable runtime pose graph supporting clips, blends, additive layers, per-bone masks,...
Definition AnimGraph.h:26
Single-clip (or cross-fading) 3D animation player. Script type: AnimPlayer.
Definition AnimPlayer.h:30
Runtime motion matching player: builds a query feature from current pose + desired trajectory,...
static constexpr StrongUint64 zero() noexcept
Returns the zero value for this strong type.
eve::detail::StrongUint64< detail::ClimbingExecutionIdTag > ClimbingExecutionId
Stable non-zero identity assigned when a climbing selection transaction commits.
eve::Result< ClimbingAnimationFrame > advanceClimbingAnimation(animation::AnimPlayer &player, const eve::SimulationStep &step, Vec3 facing, Vec3 pelvisOffset)
Advances a borrowed player once and extracts root motion plus known semantic notifies.
eve::Result< ClimbingGraphProvider > driveClimbingGraph(animation::AnimGraph &graph, int oneShotNode, ClimbingExecutionId executionId, ClimbingGraphState &state)
Triggers a graph one-shot exactly once for a new climbing execution.
eve::Result< void > beginClimbingAnimation(animation::AnimPlayer &player, animation::AnimClip &clip, int rootMotionBone)
Starts a borrowed clip in a borrowed player and selects its root-motion bone.
eve::Result< ClimbingGraphProvider > driveClimbingMotionMatching(animation::MotionMatcher &matcher, const eve::SimulationStep &step, Vec3 desiredVelocity, float desiredYaw, ClimbingGraphState &state)
Advances ordinary locomotion Motion Matching and marks it as the current presentation provider.
ClimbingGraphProvider useDirectClimbingPose(ClimbingExecutionId executionId, ClimbingGraphState &state) noexcept
Selects the explicit no-graph degradation path without mutating gameplay authority.
ClimbingGraphProvider
Presentation provider selected for the climbing action pose.
One deterministic fixed-step emitted by SimulationClock.
Definition Time.h:158
Stable animation asset and graph binding metadata.
Definition Climbing.h:100
Owning result of extracting one animation frame for authoritative climbing motion.
Non-authoritative graph projection state; contains no borrowed pointers.
Per-tick authored animation motion supplied before climbing warp and collision.
Definition Climbing.h:540
Small owning world-space vector used at climbing module boundaries.