【文件属性】:
文件名称:three-gltf-loader:three.js的GLTFLoader包装为模块,易于导入
文件大小:21KB
文件格式:ZIP
更新时间:2021-05-05 21:27:53
JavaScript
three.js glTF加载器
对于three > = v0.103.0的注释
请注意,从three.js r103开始, GLTFLoader包含在three软件包中,不再需要安装three-gltf-loader 。
可以通过访问
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader' ;
该软件包将不再维护。
安装
yarn add three-gltf-loader
npm i --save three-gltf-loader
描述
three.js的r111 包装为易于导入的模块,其中包括TypeScript类型定义。
用法
import * as THREE from 'three' ;
import GLTFLoader from 'three-gltf-loader' ;
const loa
【文件预览】:
three-gltf-loader-master
----.gitignore(39B)
----README.md(2KB)
----package.json(596B)
----index.js(79KB)
----index.d.ts(955B)
----.npmignore(35B)
----yarn.lock(86B)