载入中...
搜索中...
未找到
AvatarInstance.h
浏览该文件的文档.
113class EVENGINE_API_DOMAINS AvatarInstance : public eve::IAttachmentPointSource, public eve::IAnimationEventSource {
174 bool defineParameter(const std::string& name, float defaultValue, float minimum, float maximum);
269 [[nodiscard]] eve::Result<void> setHumanoidBoneRotation(std::string_view semantic, float yaw, float pitch,
317 animation::AnimConstraintStack* getAnimConstraintStack() const { return animConstraintStack_.get(); }
Share string attribute map operations through the Windows Foundation DLL.
Read-only cross-module view of animation events emitted by the latest simulation update....
Definition AnimationEventSource.h:14
Read-only cross-module contract for sampling named animated attachment points. @ownership Implementat...
Definition AttachmentPoint.h:22
Keyframed skeletal animation clip (local TRS tracks per bone). Script type: AnimClip.
Definition AnimClip.h:145
Ordered main-thread post-process stack with aim, limb IK and foot planting.
Definition AnimConstraintStack.h:17
Combines a borrowed base pose source with ordered override/additive layers.
Definition AnimLayerMixer.h:53
Single-clip (or cross-fading) 3D animation player. Script type: AnimPlayer.
Definition AnimPlayer.h:33
CPU linear-blend skinning binding for one mesh against an AnimSkeleton.
Definition AnimSkin.h:47
Clip-driven animation state machine with float/bool/trigger parameters and cross-fade transitions....
Definition AnimStateMachine.h:23
World-space spring-chain solver that writes results as local bone rotations.
Definition DynamicBoneSolver.h:37
Paired-foot IK with contact smoothing and pelvis compensation.
Definition FootIKSolver.h:32
Property tween — interpolates named float properties from → to over time.
Definition Tween.h:25
Unified avatar instance. Kind is a string: "image" | "live2d" | "vroid". Script-facing API avoids ove...
Definition AvatarInstance.h:113
AvatarInstance & operator=(const AvatarInstance &)=delete
animation::DynamicBoneSolver * getDynamicBoneSolver() const
Return the Avatar-owned solver, or null. @ownership Borrowed from this Avatar. @lifetime Valid until ...
Definition AvatarInstance.h:337
std::function< void(AvatarInstance *)> DestroyHook
Callback fired exactly once, when the instance is destroyed.
Definition AvatarInstance.h:116
animation::AnimConstraintStack * getAnimConstraintStack() const
Return the Avatar-owned constraint stack, or null. @ownership Borrowed from this Avatar....
Definition AvatarInstance.h:317
bool getApplyRootMotion() const
Return whether root motion is applied to the Avatar transform.
Definition AvatarInstance.h:367
AvatarInstance(const AvatarInstance &)=delete
bool isSceneLinked() const
Return whether this avatar is currently scene-driven.
Definition AvatarInstance.h:425
animation::FootIKSolver * getFootIKSolver() const
Return the Avatar-owned paired-foot IK solver, or null. @ownership Borrowed from this Avatar....
Definition AvatarInstance.h:325
Optional Live2D runtime backend (Cubism etc.). Registered from C++ / plugins.
Definition AvatarInstance.h:76
virtual void setParameter(const std::string &name, float value)=0
Sets the parameter.
virtual void collectDrawItems(std::vector< graphics::DrawItem2D > &)
Optional: push drawables into the 2D queue. Default no-op.
Definition AvatarInstance.h:103
virtual ~ILive2DBackend()=default
Releases ILive2DBackend resources.
virtual bool setMotion(const std::string &name)=0
Sets the motion.
virtual bool isRuntimeAvailable() const
True only for a backend that can render a real Live2D model.
Definition AvatarInstance.h:83
virtual float getParameter(const std::string &name) const =0
Returns the parameter.
virtual void setVisible(bool)
Optional: receive the Avatar's effective visibility.
Definition AvatarInstance.h:99
virtual void setLayer(int)
Optional: receive the Avatar's render sorting layer.
Definition AvatarInstance.h:101
virtual bool setExpression(const std::string &name)=0
Sets the expression.
virtual void setTransform(float, float, float, float)
Optional: receive the Avatar's 2D transform.
Definition AvatarInstance.h:97
Packages shading method + surface parameters into one attachable asset.
Definition Material.h:38
Default renderable entity for declarative 2D sprites / solid quads.
Definition RenderSystem.h:119
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:15
CPU-side decoded 3D model (Assimp scene owned via medialoader::ModelScene). Does not upload to GPU — ...
Definition ModelData.h:39
Definition Animation.cpp:58
Definition Appearance.cpp:8
ILive2DBackend *(*)() Live2DBackendFactory
Definition AvatarInstance.h:106
EquipmentVisualChange
Outcome of changing or rebuilding the equipment appearance projection.
Definition AvatarInstance.h:61
SkinnedPartUpdateMode
Observable backend selected for a shared-pose skinned part.
Definition AvatarInstance.h:69
@ Unavailable
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Definition AvatarInstance.h:26
运行时容器:固定格数的背包 / 箱子 / 商店栏等。 行为由 InventorySystem 提供;本类暴露便于脚本绑定的薄封装方法。
Definition AvatarInstance.h:38
Definition Animation.h:21
Definition AvatarInstance.h:34
Definition Container.h:602
Plain world-space point shared by animation consumers without a math-library dependency.
Definition AttachmentPoint.h:10