@dxp-dc/taro-three-viewer
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

基于 Taro 的多端 3D 模型加载组件

支持 Taro 2.x

支持 H5, 微信小程序

支持 fbx 模型

Usage

<ThreeViewer url={fbxUrl} cameraPosition={cameraPosition} />

参数

参数 说明 类型 可选值 默认值
url 模型url String
cameraPosition camera位置 Position 0

Position

interface Position {
  x: number;
  y: number;
  z: number;
}

Issue

  • 微信小程序不支持 fbx 模型的动画

Readme

Keywords

none

Package Sidebar

Install

npm i @dxp-dc/taro-three-viewer

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

785 kB

Total Files

14

Last publish

Collaborators

  • brian118
  • yichu
  • dmcomponents
  • jackie198512
  • battercake