大约有 1,609 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0130 秒)
Laya_社区(1473) Laya2.0_文档(76) Laya3.0_文档(32) Laya3.0_api(11) Laya2.0_api(8) laya_api(7) Laya_示例(1) Laya2.0_示例(1)
...机上就连接不上socket 项目分包后, 运行出错 为什么有的图片打包,有的图片不打包? 如图 laya2.0引入第三方库失败 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined Animation 的createFrames 使用已经加载...
来源: Laya_社区 发布时间: 20180307
... 提交 1 个回复 w1114367261 赞同来自: progressBar就是两张png的图片一张为背景图(bg)一张是进度条图(bar) 在你创建progressBar的时候的图片资源路径中的skin输入你的背景图的名字xxx.png, 这时候progressBar会根据你传入的背景图的路径...
来源: Laya_社区 发布时间: 20180408
...diagonal; //...... } ``` > 通过遮挡图生成 ```typescript /** * 通过图片数据计算得到AStar网格 */ createGridFromAStarMap(texture) { var textureWidth = texture.width; var textureHeight = texture.height; //读取图片像素 var pixelsInfo = texture.getPixels(); var aStarArr = []; var ...
来源: Laya2.0_文档 发布时间: 20210714
使用WebGL后,图片加载出错,不使用可以正常加载 使用Laya.init(600, 300, WebGL); 报错如下: Uncaught SecurityError: Failed to execute 'texSubImage2D' on 'WebGLRenderingContext': The cross-origin image at http://127.0.0.1/laya/studyLay ... y.png may not be loaded. 对应...
来源: Laya_社区 发布时间: 20160601
...diagonal; //...... } ``` > 通过遮挡图生成 ```typescript /** * 通过图片数据计算得到AStar网格 */ private createGridFromAStarMap(texture):void { var textureWidth = texture.width; var textureHeight = texture.height; //读取图片像素 var pixelsInfo = texture.getPixels(); var aStarA...
来源: Laya2.0_文档 发布时间: 20210715
...s.diagonal; ...... } ``` > 通过遮挡图生成 ```typescript /** * 通过图片数据计算得到AStar网格 */ private function createGridFromAStarMap(texture:Texture):Array { var textureWidth:int = texture.width; var textureHeight:int = texture.height; //读取图片像素 var pixelsInfo:Uint8Ar...
来源: Laya2.0_文档 发布时间: 20210714
...包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 问题状态 最新活动: 2018-04-27 22:54 浏览: 1079 关注: 2 人 18210965028 • 2018-05-08 11:17 不行. 我是index里面设置的
来源: Laya_社区 发布时间: 20180425
[LayaAir3]Laya3.2.7版worker加载图片404 分析代码发现,给worker传入的url变为atlas/comp/button.png 于是worker得到的url是http://localhost:18090/libs/atlas/comp/button.png,所以出现了404正确的url应该是http://localhost:18090/atlas/comp/button.png 附件 : --> Laya3.2_....
来源: Laya_社区 发布时间: 20250701
Laya2.3.0设置basePath后,打包微信Laya.Texture2D.load图片失败 版本Laya2.3.0 问题描述:设置 Laya.Url.basePath 后,使用 Laya.Texture2D.load() 加载3D模型贴图,微信环境下首次加载成功,刷新再次进入加载贴图失败,加载失败路径为本地路径,...
来源: Laya_社区 发布时间: 20191210
...ure = Laya.Loader.getRes("image/shake_01.png"); 想拿图集中的某一张图片。发现拿不到这张图片。 但是我换个默认的图集Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, this.createView)); 却能拿到图集中的图片。是我打包图集的问题吗?这两...
来源: Laya_社区 发布时间: 20180326