大约有 2,258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1808) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(28) Laya2.0_示例(15)
...Group(group:String):void 根据分组清理资源。 LoaderManager clearTextureRes(url:String):void 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理te...
来源: Laya2.0_api 发布时间: 20190513
IDE打开某个场景时弹处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 附件 : --> 2020-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20200202
关于LayaAir 2.1.0beta 版本引擎Texture.getPixels在LayaNative上面的报错 这个是个老问题了,上个版本报错信息是获取像素值的时候rgba数组是null,这次的报错是_nativeObj是null,麻烦官方给看下,这个接口急用,如有解决办法请直接回复我...
来源: Laya_社区 发布时间: 20190516
...llipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate Constructors constructor new Graphics(): Graphics Defined in laya/d...
来源: Laya3.0_api 发布时间: 20231115
...d All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawTexturesCmd" DrawTexturesCmd Class DrawTexturesCmd 根据坐标集合绘制多个贴图 Hierarchy DrawTexturesCmd Index Properties colors pos texture ID Methods recover Properties colors colors: number[] Defined in laya/displ...
来源: Laya3.0_api 发布时间: 20231115
关于Texture.getTexturePixels()函数BUG的修复代码 将变量uk的值改为1.0/texw 将变量uv的值改为1.0/texh 即可完美解决现在取像素值错误的问题。 uvh,uvw两个变量不需要了,可以删除 附件 : --> 2019-11-08 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20191108
...ight:Number) 创建一个 HeightMap 实例。 HeightMap createFromImage(texture:Texture2D, minHeight:Number, maxHeight:Number):HeightMap[static] 从图片生成高度图。 HeightMap creatFromMesh(mesh:Mesh, width:int, height:int, outCellSize:Vector2):HeightMap[static] 从网格精灵生成高...
来源: laya_api 发布时间: 20170929
...ight:Number) 创建一个 HeightMap 实例。 HeightMap createFromImage(texture:Texture2D, minHeight:Number, maxHeight:Number):HeightMap[static] 从图片生成高度图。 HeightMap creatFromMesh(mesh:Mesh, width:int, height:int, outCellSize:Vector2):HeightMap[static] 从网格精灵生成高...
来源: Laya2.0_api 发布时间: 20190513
bug,在laya编辑器里面用texture拼的界面,设置scaleX=-1,打包app在手机上失效。 2018-03-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 你用加速器试过没有...
来源: Laya_社区 发布时间: 20180303
...的打印这么一个错误。 11-20 16:41:19.878: E/(30973): [Mali]: gles_texture_bind_texture: Rendering feedback loop detected (texture=62), app behavior is wrong 11-20 16:41:19.878: E/(30973): [Mali]: gles_texture_bind_texture: Rendering feedback loop detected (texture=62), app behavior is wrong...
来源: Laya_社区 发布时间: 20181120