For AI agents: the complete documentation index is available at /vue-vrm/zh/llms.txt, the full documentation bundle is available at /vue-vrm/zh/llms-full.txt, and this page is available as Markdown at /vue-vrm/zh/index.md.
  • 简体中文
  • vue-vrm
    在 Vue 中显示 VRM 头像

    用一个组件完成 VRM 1.0 模型的显示和 VRMA 动画的播放。

    vue-vrm logovue-vrm logo
    🧍

    支持 MToon 的 VRM 1.0

    从 ArrayBuffer 读取 VRM 1.0 模型,并使用 three-vrm 的 MToon 着色器渲染。

    💃

    播放 VRMA

    按权重播放一个或多个 VRMA 片段,并可通过代码暂停、继续或停止。

    🎥

    相机与灯光

    自动调整相机以显示整个模型。相机和灯光可通过 props 调整,也支持轨道控制。

    🔒

    ⚠️ 注意素材的许可协议

    除非你拥有模型及其全部素材的著作权,否则请不要直接加载实体文件。安全的分发方式请参阅示例。

    🧩

    Web Component

    同一组件也以自定义元素的形式导出,可在 Vue 之外使用。

    🛠️

    直接访问 three.js

    通过模板引用获取场景、相机、渲染器、混合器和 VRM 实例。