载入中...
搜索中...
未找到
AnimLayerMixer.h
浏览该文件的文档.
86 [[nodiscard]] eve::Result<int> addPoseLayer(const std::string& name, IAnimPoseSource* source, AnimBoneMask* mask,
89 int addLayer(const std::string& name, AnimPlayer* player, AnimBoneMask* mask, const std::string& mode);
91 int addGraphLayer(const std::string& name, AnimGraph* graph, AnimBoneMask* mask, const std::string& mode);
93 int addStateMachineLayer(const std::string& name, AnimStateMachine* stateMachine, AnimBoneMask* mask,
106 [[nodiscard]] eve::Result<void> setLayerAdditiveReference(const std::string& name, const std::string& reference);
Common time values and an injectable deterministic simulation clock.
Per-bone weights used by override and additive animation layers.
Definition AnimLayerMixer.h:20
AnimSkeleton * getSkeleton() const
Return the non-owned skeleton used by this mask.
Definition AnimLayerMixer.h:38
int getBoneCount() const
Return the number of bones represented by this mask.
Definition AnimLayerMixer.h:36
Composable runtime pose graph supporting clips, blends, additive layers, per-bone masks,...
Definition AnimGraph.h:26
Combines a borrowed base pose source with ordered override/additive layers.
Definition AnimLayerMixer.h:53
AnimSkeleton * getSkeleton() const override
Return the mixer skeleton. @ownership Borrowed @lifetime Valid while the owning animation object rema...
Definition AnimLayerMixer.h:138
IAnimPoseSource * getBaseSource() const
Return the borrowed base source, or null. @ownership Borrowed @lifetime Valid while the owning animat...
Definition AnimLayerMixer.h:74
AnimPose * getPose() override
Return the most recently combined pose. @ownership Borrowed @lifetime Valid while the owning animatio...
Definition AnimLayerMixer.h:132
eve::SimulationTick currentTick() const noexcept override
Current tick.
Definition AnimLayerMixer.h:142
Single-clip (or cross-fading) 3D animation player. Script type: AnimPlayer.
Definition AnimPlayer.h:30
Evaluated local (and optional world) pose for an AnimSkeleton. Script type: AnimPose.
Definition AnimPose.h:17
3D bone hierarchy + bind-pose local TRS for skeletal animation. Independent of ik::Skeleton3D (FABRIK...
Definition AnimSkeleton.h:16
Clip-driven animation state machine with float/bool/trigger parameters and cross-fade transitions....
Definition AnimStateMachine.h:23
Borrowed pose provider consumed by AnimLayerMixer.
Definition AnimPoseSource.h:20
static constexpr StrongUint64 zero() noexcept
Returns the zero value for this strong type.
Definition StrongUint64.h:24
Definition Animation.cpp:58
AnimAdditiveReference
Reference pose used when converting an additive sample into a delta.
Definition AnimPoseSource.h:60