大约有 1,546 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0072 秒)
...rom previous GL command 02-05 16:53:07.013 24700-24700/? I/chromium: [INFO:CONSOLE(0)] "[.Offscreen-For-WebGL-0x7c8dec00]GL ERROR :0x0505 : glTexImage2D: <- error from previous GL command", source: http://xx.xxx.xxxx.pk/xn/x/.............html (0) 02-05 16:53:07.825 24700-24824/? E/chromium: [ERRO...
来源: Laya_社区 发布时间: 20180205
...@param node 节点 */ base_remove(node){ if(node.numChildren<=0)return; console.log('移除',node.name); let obj; for(let i=node.numChildren-1;i>=0;i--){ obj= node.getChildAt(i); obj.destroy(); } } 或者 /* 从舞台移除模型对象 @param node 节点 */ base_remove(node){ if(node.numChi...
来源: Laya_社区 发布时间: 20191119
... 代码: var configData:XmlDom = Loader.getRes(config_PATH) as XmlDom; console.log(configData); console.log(configData.attributes); console.log(configData.childNodes); xml如下: <root> <config> <PATH>../h5/</PAHT> </config> </r...
来源: Laya_社区 发布时间: 20170531
...// 程序入口 class GameMain{ constructor() { Laya.init(600,400, WebGL); console.log("Before In One, Time = " + Date.now()); Laya.timer.once(1,this,this.One) console.log("After In One, Time = " + Date.now()); } One():void{ console.log("In One, Time = " + Date.now()); } } new GameMain(); 控制...
来源: Laya_社区 发布时间: 20190827
...OR,this,this.onError); //数据传输失败后返回 //post数据的写法 console.log(JSON.stringify(request)); this.http.send(url,JSON.stringify(request), 'post', 'text',["content-type","application/json"]); } function onProgress(e) { console.log("run onProgress"); } function onComplete(e) { conso...
来源: Laya_社区 发布时间: 20180315
...r traceName = "xxxx";//添加的干扰代码 var funString = '_xxxx_fun(){ console.log("';//添加的方法体 var root_Url = "D:/code/project/src";//项目diam路径 fileDisplay(path.resolve(root_Url)); /** * 文件遍历方法 * @param filePath 需要遍历的文件路径 */ function fileDisplay(f...
来源: Laya_社区 发布时间: 20190613
...這樣: Vector3 {elements: Float32Array[3]} 改成這樣: console.log( camera.transform.position.x ); console.log( camera.transform.position.y ); console.log( camera.transform.position.z ); 另外;你的 position 打錯,不是 postion 是 position。 2017-08-08 2 0 分享...
来源: Laya_社区 发布时间: 20170808
...Laya.Browser.clientHeight){ console.log("横屏",this.lastClientWidth); if(Laya.stage.scaleMode != Laya.Stage.SCALE_SHOWALL){ Laya.stage.scaleMode = La...
来源: Laya_社区 发布时间: 20190514
...始读入byte中。省略其中的浮点数20.0和整数16 byte.pos = 0;// console.log(byte.readUTFString())//从byte中读出字符串。 ``` - 读取数据 **getByte**():number在字节流中读一个字节。 **getInt16**():number在当前字节偏移量位置处读取 Int16 值。 **getInt32**()...
来源: Laya2.0_文档 发布时间: 20210714
... super(); } public onAwake():void{ console.log(1111); } } 2.继承Sprite 执行后会有onAwake let t = new tt(); Laya.Scene.root.addChild(t); } } //激活启动类 new Main(); class tt extends Laya.Sprite{ ...
来源: Laya_社区 发布时间: 20190701