• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 94 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0026 秒)

51. laya.d3.physics.shape.HeightfieldTerrainShape_API3.0 [ 65%]

... 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

52. [2.0beta5]引入场景报错 [ 65%]

...什么原因,十分感谢。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

53. [LayaAirIDE3]怎么取消像素差值? [ 64%]

...0的bug 给边缘带透明像素的Image设置sizeGrid时显示异常 Uint8Array的像素数据在ios中无法改变图片纹理,安卓正常 问题状态 最新活动: 2025-07-16 09:40 浏览: 800 关注: 1 人

来源: Laya_社区 发布时间: 20250716

54. 求个arraybuffer转texture2D [ 62%]

...空 Texture,和Texture2D如何互转? Texture2D类getPixels()返回的uint8Array按什么格式存储的 问题状态 最新活动: 2018-11-19 14:53 浏览: 829 关注: 2 人

来源: Laya_社区 发布时间: 20181031

55. RenderTexture的像素读取(JavaScript-3D基础(JS)-LayaAir3D之纹理) [ 62%]

...目标的像素数据,默认renderTarget的颜色为RGBA var out = new Uint8Array(2048*2048*4); renderTargetCamera.renderTarget.getData(0, 0, 2048, 2048, out); //设置纹理的填充像素像素 tex.setPixels(out); ``` 在开始渲染后,我们调整视角就可以看到拍照的效果了。 ![](...

来源: Laya2.0_文档 发布时间: 20210714

56. AS和JS互相通信:ExternalInterface [ 62%]

...览: 1018 关注: 2 人 ryusing • 2017-11-22 21:39 如果参数是 uint8array, 怎么传过去??

来源: Laya_社区 发布时间: 20170620

57. laya.resource.Texture_API3.0 [ 61%]

...Pixels getPixels(x: number, y: number, width: number, height: number): 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

58. texture2d的getPixels()返回结构 [ 61%]

...texture2d的getPixels()返回结构 texture2d的getPixels()返回结构Uint8Array|Float32Array 如何转换为Float32Array格式  2020-01-07 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠?...

来源: Laya_社区 发布时间: 20200107

59. ByteArray写入ArrayBuffer不成功 [ 61%]

... 1 个回复 cuixueying 赞同来自: 该问题开发者已经通过getUint8Array ()方法解决,此处结贴,有问题我们保持沟通! 2017-03-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 aaron ...

来源: Laya_社区 发布时间: 20170309

60. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 61%]

...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