xctc-model
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

项目中常用的方法集合

email: dybself@163.com

安装 npm i xctc-model

项目中引入 import 3Dmodel from "xctc-model"

初始化模型
第一个参数为token,第二个参数为回调函数,回调函数执行,证明地球模型已初始化成功,在回调函数中进行对应方法
let model = new  Init3DModel("",()=>{
        model.initModelViewer("createCesium") // 初始化 div , 通过ID 绑定模型
        model.httpRequest("url") // 3dTiles 模型数据请求地址
        model.modelScale({min:20,max:1200}) // 
})

Readme

Keywords

none

Package Sidebar

Install

npm i xctc-model

Weekly Downloads

12

Version

1.1.1

License

ISC

Unpacked Size

86.5 kB

Total Files

36

Last publish

Collaborators

  • dyb_website