@aura3d/apps

中文文档
4.7.0发布于 2026/10/31MITTypeScriptES Module

High-level Aura3D app workflow presets for asset viewers, product configurators, material studios, scene showcases, and interactive scenes.

原始使用文档
文档目录3 节
  1. Public API
  2. Workflow Presets
  3. Verification

@aura3d/apps

@aura3d/apps owns high-level Aura3D app workflow presets for asset viewers, product configurators, material studios, scene showcases, and interactive scenes.

Public API

  • createA3DApp: creates an app shell with an Aura3D Engine, optional renderer, quality presets, workflow execution, diagnostics, and disposal.
  • A3D_APP_WORKFLOW_PRESETS: the supported workflow preset IDs.
  • resolveA3DAppQualityPreset: resolves draft, balanced, and production-sized app quality settings.
  • renderWorkflow(...): runs one of the package workflow presets and renders it when the app owns a canvas-backed renderer.

Workflow Presets

  • asset-viewer
  • product-configurator
  • material-studio
  • scene-showcase
  • interactive-scene

This package composes @aura3d/core, @aura3d/rendering, and @aura3d/workflows. It is a workflow/app shell package, not the root agent-authored createAuraApp safe API.

Verification

Use the package through its exported workflow/app APIs and keep public examples bounded to the evidence for the workflow being rendered. Root public examples should still import from @aura3d/engine unless the task explicitly targets workflow internals.

版本与发布记录

@aura3d/apps 共发布 47 个版本,首次发布于 2026/06/06;过去 12 个月发布了 47 个版本。

版本发布日期距今
4.7.0latest2026/10/312 天前
4.6.22026/10/304 天前
4.6.12026/10/304 天前
4.6.02026/10/304 天前
4.5.02026/10/295 天前
4.3.72026/10/286 天前

关于 @aura3d/apps 的常见问题

@aura3d/apps 是什么?

用于资产查看器、产品配置器、材料工作室、场景展示和交互场景的高级Aura3D应用程序工作流预设。

如何安装 @aura3d/apps?

在项目目录运行 npm install @aura3d/apps,或使用 pnpm add / yarn add / bun add。

@aura3d/apps 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@aura3d/apps 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@aura3d/apps 可以商用吗?

@aura3d/apps 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@aura3d/apps 还在维护吗?

最新版本 4.7.0 发布于 2026/10/31(2 天前);至今共发布 47 个版本,其中过去 12 个月发布了 47 个;首次发布于 2026/06/06。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。