大约有 1,073 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0047 秒)
Laya_社区(981) Laya2.0_文档(47) Laya3.0_文档(20) Laya2.0_api(12) Laya2.0_示例(5) Laya_示例(5) laya_api(2) Laya3.0_api(1)
layaMaxUI里面永远只会生成一个TestSceneUI,其他自定义的scene不会导出 2.0的示例项目,选择的是文件模式, layaMaxUI里面永远只会生成一个TestSceneUI,其他自定义的scene不会导出到layaMaxUI。 示例自带了TestScene.scene,在layaMaxUI里有导出Tes...
来源: Laya_社区 发布时间: 20190430
...同来自: conch.saveAsJpeg( arrayBuff,width,height,conch.getCachePath()+"/test.jpg" ); //存储后便可以通过 file:///的方式直接进行访问了 var image = window.document.createElement("img"); image.onload=function() { } image.src="file:///" + conch.getCachePath()+"/test.jpg"; 截图之...
来源: Laya_社区 发布时间: 20180224
...whiteSpace = "nowrap"; html.innerHTML = '<span style="color:#ffffff">test</span>'; html.pos(500, 300); html.size(html.contextWidth, html.contextHeight); Laya.stage.addChild(html); setTimeout(function() { html.innerHTML = ''; }, 300);此问题是由于在新版中改变了laya.html.js的H...
来源: Laya_社区 发布时间: 20170620
...nceError: CameraMoveScript is not defined at LayaAir3D (file:///E:/layaPro/Test3d/src/LayaAir3D.js:24:29) at file:///E:/layaPro/Test3d/src/LayaAir3D.js:38:1 loader callback cost a long time:179 url=Laya/terrain/terrain_splatalpha0_0_0.png 2018-04-26 0 0 分享 微博 QZONE 微信 为什么被折...
来源: Laya_社区 发布时间: 20180426
绘制图形的BUG BUG1:package ui.test { import laya.display.Sprite; import laya.utils.Tween; public class MyBox extends Sprite { private var _shape:Sprite; public function MyBox() { super(); graphics.drawRect(0,0,200,200,"#00ff00"); _shape=new Sprite(); _shape.graphics.drawCircle(0,0,20,"#ff0000"...
来源: Laya_社区 发布时间: 20170124
...渲染3d骨骼动画报错,开发工具和ios没问题 附件 : --> Game_test.zip Game_test.zip 2019-11-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题...
来源: Laya_社区 发布时间: 20191104
...= 0; var count = 0; var totale = 0; Laya.timer.frameLoop(1, this, function test() { var deltaTime = new Date().getTime() - lastTimestamp; lastTimestamp = new Date().getTime(); count++; totale += deltaTime; this.x += this.speed_x*deltaTime; this.y += this.speed_y*deltaTime; });用以上代码移动...
来源: Laya_社区 发布时间: 20170920
...闪退 18:12:15.464 A #00 pc 000000000077d730 /data/app/com.vn.test-1G57vgueQKAtCE7JLmkn7g==/lib/arm64/liblayaair.so (laya::JCFreeTypeFontRender::getTextLineBitmapData(char*, laya::BitmapData*, int, laya::JCFontInfo*, int, int, double, double)+1516) 18:12:15.464 A #01 pc 000000...
来源: Laya_社区 发布时间: 20230417
...载下来的图片可以通过完整URL路径对Image赋值(http://~~~~/test..png),但不能像图片放在本地那样直接通过图片名字对image赋值(test.png),因为通过ui面板导出来的配置信息就是图片名字,所以图片下载下来后没法直接用,需要重新...
来源: Laya_社区 发布时间: 20180718
...", "scale":[2,2] }, "child":[ { "type":"Text", "props":{ "text":"this is a test", "var":"label", "rumtime":"" } } ] } ClassUtils getClass(className:String):*[static] 根据名字返回类对象。 ClassUtils getInstance(className:String):*[static] 根据名称创建 Class 实例。 ClassUtils...
来源: Laya2.0_api 发布时间: 20190513