🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

three-app-sdk

Package Overview
Dependencies
Maintainers
2
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-app-sdk

three-app sdk

latest
npmnpm
Version
1.3.13
Version published
Weekly downloads
30
400%
Maintainers
2
Weekly downloads
 
Created
Source

three-app-sdk

version downloads LICENSE repo-types minzip

用途

3D 通用组件库sdk。

特性

  • 基于 TypeScript 开发,不限前端框架。
  • 默认全局光照环境,3D模型材料限定使用物理材质或者标准材质
  • 3D模型类型限定使用glb类型
  • 支持浏览器窗口失焦运行
  • 支持物理环境
  • 支持框架内资源自动销毁

安装

通过 npm 下载安装代码

$ npm i three-app-sdk

通过 yarn 下载安装代码

$ yarn add three-app-sdk

通过 pnpm 下载安装代码

$ pnpm i three-app-sdk

如何使用

//创建一个应用
import { Application } from 'three-app-sdk'
const el: any = document.getElementById('app')

const app = new Application(el, {
  enableEffectComposer: true,
  hideAxes: false,
  hideGrid: false
})
app.start()
docs目录为sdk教程,使用vite运行
examples为例子目录,使用vite运行

更新日志

FAQs

Package last updated on 19 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts