大约有 563 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0043 秒)
Laya_社区(159) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(22) Laya3.0_文档(22) Laya2.0_示例(3) Laya_示例(3)
...eProxy.java中的getExpansionMainPath这个方法,改成如下: public String getExpansionMainPath() { return "/storage/emulated/0/com.layabox.conch5/resource.zip"; } 这样应该是能够对应上的,因为我看读取logo.png的时候已经到这个zip文件中查找了,但是ind...
来源: Laya_社区 发布时间: 20180327
... if (Laya.LayaEnv.version == "3.3.0-beta.4") { Scene.open = function (url: string, closeOther?: boolean, param?: any, complete?: any, progress?: any): Promise<Laya.Scene> { if (typeof (complete) === "function") { progress = complete; complete = null; } if (typeof (param) === "function") comple...
来源: Laya_社区 发布时间: 20250609
...所占用的内存怎么释放? 尔东 • 2019-03-08 10:47 clearRes(url:String):void [static] 清理指定资源地址的缓存。 尔东 • 2019-03-08 10:20 请不要轻易锁定帖子可以吗,我们的需求是自己使用计数引用自己管理资源释放,而不是使用destroyUnusedRe...
来源: Laya_社区 发布时间: 20190307
... BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods...
来源: Laya2.0_api 发布时间: 20190513
... BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods...
来源: Laya2.0_api 发布时间: 20190513
... BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods...
来源: Laya2.0_api 发布时间: 20190513
...; Laya.stage.addChild(sp); } private function onClick():void { var htmlsss:String=(Laya.stage.getChildAt(0) as Sprite).drawToCanvas(100,100,0,0).getCanvas().toDataURL(); var sp2:Sprite = new Sprite(); sp2.name='drawCanvas'; sp2.x = 300; sp2.loadImage(htmlsss); Laya.stage.addChild(sp2); } } } Laya...
来源: Laya_社区 发布时间: 20170523
... 示例如下:var htmlDiv:HTMLDivElement=new HTMLDivElement(); var html:String = "<span color='#e3d26a'>使用</span>"; html += "<span style='color:#FFFFFF;font-weight:bold'>HTMLDivElement</span>"; html += "<span color='#6ad2e3'>创建的</span><br/>"; htm...
来源: Laya_社区 发布时间: 20161027
...avaFunction.java中在将其转为print输出。 public static void alert( String msg ) { System.err.println("LayaBox alert: " + msg); // 拒绝弹出alert框 // ExportJavaFunction pExport = ExportJavaFunction.GetInstance(); // if(pExport!=null){ // AlertRunnable runnable = new AlertRunnable(); // r...
来源: Laya_社区 发布时间: 20251127
...("skyBox/skyCube.ltc"); camera.sky = sky; } private _sprite3dURl:string = "LayaScene_ActionCheck/ActionCheck.lh"; wky379937316 • 2018-03-19 21:08 这是什么情况呢?是引擎不支持场景吗?如果能解决,请给一个解决方案,谢谢 涛涛~ • 2019-07-06 16:...
来源: Laya_社区 发布时间: 20180317