没有合适的资源?快使用搜索试试~ 我知道了~
node-three-screenshot:拍摄三个场景的PNG屏幕截图
共20个文件
js:10个
json:2个
gitignore:1个
需积分: 9 0 下载量 200 浏览量
2021-05-08
04:49:52
上传
评论
收藏 68KB ZIP 举报
温馨提示
节点三截屏 拍摄三个场景的PNG屏幕截图 用法 $ npm install node-three-screenshot import { toPNG } from 'node-three-screenshot' ; fs . writeFileSync ( 'out.png' , toPNG ( scene ) ) ; 和开玩笑 $ npm install jest-image-snapshot import { toPNG } from 'node-three-screenshot' ; import { toMatchImageSnapshot } from 'jest-image-snapshot' ; expect . extend ( { toMatchImageSnapshot } ) ; expect ( toPNG ( obj ) ) . toMatchImageSn
资源推荐
资源详情
资源评论
收起资源包目录
node-three-screenshot-master.zip (20个子文件)
node-three-screenshot-master
.gitignore 959B
.babelrc 137B
package.json 1KB
package-lock.json 274KB
src
toCanvas.js 999B
index.js 108B
three.js 168B
toPNG.js 117B
.travis.yml 234B
LICENSE 1KB
.eslintrc.js 97B
README.md 925B
.eslintignore 15B
lib
toCanvas.js 2KB
index.js 675B
three.js 250B
toPNG.js 206B
.npmignore 9B
test
toPNG.test.js 571B
__image_snapshots__
to-png-test-js-to-png-should-create-a-png-snapshot-for-a-three-object-3-d-1-snap.png 7KB
共 20 条
- 1
资源评论
太远有一点点
- 粉丝: 34
- 资源: 4740
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功