1.0.0 • Published 3 years ago
w3d-gl-base v1.0.0
w3d-gl-base
提供渲染器及组件效果基础。
引入方法
1.npm 引入
npm
$ npm install w3d-gl-base
javascript
import { WebGLBase, EffectBase } from 'w3d-gl-base'; // 打包后
import { WebGLBase, EffectBase } from 'w3d-gl-base/src';// 源码
2.直接下载
下载 build
文件夹下的w3d-gl-base.min.js
;script标签引入
调用
直接调用
new WebGLBase()
new EffectBase()
1.0.0
3 years ago