大约有 94 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0026 秒)
Laya_社区(47) Laya3.0_api(19) Laya2.0_文档(8) Laya2.0_api(8) laya_api(5) Laya3.0_文档(5) Laya2.0_示例(1) Laya_示例(1)
... HeightfieldTerrainShape(heightfieldData: Uint16Array | Float32Array | Uint8Array, heightStickWidth: number, heightStickLength: number, minHeight: number, maxHeight: number, heightScale: number): HeightfieldTerrainShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/Heightfield...
来源: Laya3.0_api 发布时间: 20231115
...什么原因,十分感谢。RangeError: Source is too large at Uint8Array.set (native) at Pv (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/libs/laya.physics3D.js:304:397) at Object.window.Physics3D (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/Laya...
来源: Laya_社区 发布时间: 20181228
...0的bug 给边缘带透明像素的Image设置sizeGrid时显示异常 Uint8Array的像素数据在ios中无法改变图片纹理,安卓正常 问题状态 最新活动: 2025-07-16 09:40 浏览: 800 关注: 1 人
来源: Laya_社区 发布时间: 20250716
...空 Texture,和Texture2D如何互转? Texture2D类getPixels()返回的uint8Array按什么格式存储的 问题状态 最新活动: 2018-11-19 14:53 浏览: 829 关注: 2 人
来源: Laya_社区 发布时间: 20181031
...目标的像素数据,默认renderTarget的颜色为RGBA var out = new Uint8Array(2048*2048*4); renderTargetCamera.renderTarget.getData(0, 0, 2048, 2048, out); //设置纹理的填充像素像素 tex.setPixels(out); ``` 在开始渲染后,我们调整视角就可以看到拍照的效果了。 : Uint8Array Defined in laya/resource/Texture.ts:395 获取Texture上的某个区域的像素点 Parameters x: number y: number width: number height: number Returns Uint8Array 返回像素点集合 getTexturePixels getTexturePixels...
来源: Laya3.0_api 发布时间: 20231115
...texture2d的getPixels()返回结构 texture2d的getPixels()返回结构Uint8Array|Float32Array 如何转换为Float32Array格式 2020-01-07 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠?...
来源: Laya_社区 发布时间: 20200107
... 1 个回复 cuixueying 赞同来自: 该问题开发者已经通过getUint8Array ()方法解决,此处结贴,有问题我们保持沟通! 2017-03-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 aaron ...
来源: Laya_社区 发布时间: 20170309
...er.getRes(this.AllPng[this.curStatus ? 0: 1]);//pic-001 const x2 = new Uint8Array(data); let p = new window['PNG'](x2); let getData = p.decode();//rgba数组序列 this.texture.setPixels(getData); } private onKey(e){ if(e.keyCode == 49){ this.refreshCamera(); // this.updateUITexture(data); }else if(...
来源: Laya_社区 发布时间: 20220815