载入中...
搜索中...
未找到
VrmRuntime.h
浏览该文件的文档.
28// Private import transaction and runtime owner. ECS projections are always resolved by generation.
45 void gaze(AvatarInstance& avatar, animation::AnimPose& pose, const glm::mat4& world, bool enabled, glm::vec3 target,
Evaluated local (and optional world) pose for an AnimSkeleton. Script type: AnimPose.
Definition AnimPose.h:17
Unified avatar instance. Kind is a string: "image" | "live2d" | "vroid". Script-facing API avoids ove...
Definition AvatarInstance.h:112
static eve::Result< std::unique_ptr< VrmRuntime > > prepare(std::string_view path)
Prepare.
Definition VrmRuntime.cpp:36
std::unique_ptr< animation::AnimSkeleton > skeleton
Definition VrmRuntime.h:50
void animate(AvatarInstance &avatar, animation::AnimPose &pose, float dt)
Animate.
Definition VrmRuntime.cpp:146
std::vector< std::unique_ptr< VrmSurface > > surfaces
Definition VrmRuntime.h:63
std::vector< graphics::Texture * > textures
Definition VrmRuntime.h:64
void gaze(AvatarInstance &avatar, animation::AnimPose &pose, const glm::mat4 &world, bool enabled, glm::vec3 target, float weight)
Gaze.
Definition VrmMotion.cpp:32
std::map< int, std::array< float, 3 > > rotations
Definition VrmRuntime.h:53
void sync(AvatarInstance &avatar, const glm::mat4 &world, bool visible)
Synchronizes .
Definition VrmRuntime.cpp:122
std::weak_ptr< const void > providerLifetime
Definition VrmRuntime.h:47
std::unique_ptr< animation::AnimPlayer > player
Definition VrmRuntime.h:51
Definition Animation.cpp:58
Definition Avatar.cpp:12
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Definition Animation.h:21
@ Graphics
Validated VRM schema data. Unknown optional fields are ignored; unknown versions fail.
Definition VrmDocument.h:88
std::unique_ptr< animation::AnimSkin > skin
Definition VrmRuntime.h:59