大约有 1,054 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
Laya_社区(615) Laya_示例(157) Laya2.0_文档(149) Laya2.0_示例(116) laya_api(7) Laya3.0_文档(5) Laya3.0_api(3) Laya2.0_api(2)
...查看具体报错的功能。 ERROR:invalid property id interface:function(name,_super){ Laya.__package(name,{}); var ins=Laya.__internals; var a=ins[name]=ins[name] || {self:name}; if(_super) { var supers=_super.split(','); a.extend=[]; for(var i=0;i<supers.length;i++){ var nm=supers[i]...
来源: Laya_社区 发布时间: 20180806
...执行就报错是为什么啊?错误如下: Utils.parseXMLFromString=function(value){ var rst; value=value.replace(/>\s+</g,'><'); rst=(new DOMParser()).parseFromString(value,'text/xml'); if (rst.firstChild.textContent.indexOf("This page contains the following errors")>-1){ throw...
来源: Laya_社区 发布时间: 20180103
...ype: Laya.Loader.ATLAS}, ] Laya.loader.load(resArray, Handler.create(null, function(){ console.log("回调")})); 这样用Laya.loader.load加载在微信web开发者工具触发不了回调,资源的url都是有资源的, Laya.URL.basePath的路径也是对的 laya sdk 是1.7.17,微信...
来源: Laya_社区 发布时间: 20180426
...uot;LayaScene_effect/effect.lh")); effect3D.once( Event.LOADED , this,function(sprite){ var child=effect3D.getChildAt(0); } ); sfsmmc • 2017-08-21 15:53 我试过,在loader.create预加载资源完成后,通过 Laya.loader.getRes("LayaScene_effect/effect.lh") 是不会触发Even...
来源: Laya_社区 发布时间: 20170821
...r中也找到了intersects方法,不过用法好像不太一样,public function intersects(rect:Rectangle):Boolean 问题一:是不是也是这样去用?if(rectangleA.intersects(rectangleB)) 问题二:如果是这样去用,那么是不是每一个image对象都要创建一个相应...
来源: Laya_社区 发布时间: 20161202
...举_不剔除。 Static DEPTHTEST_ALWAYS DEPTHTEST_ALWAYS: number = CompareFunction.Always Defined in laya/d3/core/material/RenderState.ts:83 深度测试函数枚举_总是通过。 Static DEPTHTEST_EQUAL DEPTHTEST_EQUAL: number = CompareFunction.Equal Defined in laya/d3/core/material/RenderState.t...
来源: Laya3.0_api 发布时间: 20231102
...``typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[thi...
来源: Laya2.0_文档 发布时间: 20210714
...rface.js' at Object.fs.openSync (fs.js:558:18) at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20) at Object.fs.readFileSync (fs.js:468:33) at Object.fs.readFileSync (ELECTRON_ASAR.js:506:29) at compressJsFiles (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_...
来源: Laya_社区 发布时间: 20180116
...的。 /** *指定显示对象 *@param index */ __proto.showDisplayByIndex=function(index){ if (this._replaceDic[index]) index=this._replaceDic[index]; if (this.currSlotData && index >-1 && index < this.currSlotData.displayArr.length){ this.displayIndex=index; this.currDisplayD...
来源: Laya_社区 发布时间: 20180106
...t laya.utils.Utils; /** * ... * @author */ public class DOM_Video { public function DOM_Video() { Laya.init(800, 600); Laya.stage.bgColor = "#FFFFFF"; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; // 创建Video元素 var videoElement:Object = Browser.createElement(...
来源: Laya_示例 发布时间: 20260819