载入中...
搜索中...
未找到
ClimbingAnimation.cpp 文件参考
#include "climbing/ClimbingAnimation.h"
#include "animation/AnimClip.h"
#include "animation/AnimGraph.h"
#include "animation/AnimPlayer.h"
#include "animation/AnimSkeleton.h"
#include "animation/MotionMatcher.h"
#include "common/Exception.h"
#include <cmath>
#include <optional>
#include <utility>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::climbing
 

函数

eve::Result< void > eve::climbing::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< void > eve::climbing::beginClimbingAnimation (animation::AnimPlayer &player, animation::AnimClip &clip, const ClimbingAnimationBinding &binding)
 Starts an action-bound clip after validating clip identity and resolving the named root bone.
 
eve::Result< ClimbingAnimationFrame > eve::climbing::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 > eve::climbing::driveClimbingGraph (animation::AnimGraph &graph, int oneShotNode, ClimbingExecutionId executionId, ClimbingGraphState &state)
 Triggers a graph one-shot exactly once for a new climbing execution.
 
eve::Result< ClimbingGraphProvider > eve::climbing::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 eve::climbing::useDirectClimbingPose (ClimbingExecutionId executionId, ClimbingGraphState &state) noexcept
 Selects the explicit no-graph degradation path without mutating gameplay authority.