大约有 1,595 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(1080) Laya3.0_api(185) Laya2.0_api(130) laya_api(125) Laya2.0_文档(36) Laya3.0_文档(26) Laya2.0_示例(7) Laya_示例(6)
...面切好的图片。 private function updateScore():void{ var data:Object = {}; var temp:Number = this.score; for (var i:int = 5; i > 0; i-- ){ data["item" i] = {index:Math.floor(temp)}; temp = temp/10; } trace(this.score); this.scorebo...
来源: Laya_社区 发布时间: 20170221
....weixin.qq.com/cgi- ... ot%3B, "", "get", "text"); function processHandler(data) { console.log(data); } function errorHandler(data) { alert(2); } function completeHandler(e) { alert(1); } } Laya.class(JiHuo, "ui.JiHuo", _super); return JiHuo; })(ui.JiHuoUI); 2018-04-19 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180419
...re2D _getSource():*[override] 获取纹理资源。 BaseTexture _parse(data:*, propertyParams:Object = null, constructParams:Array = null):Texture2D[static] Texture2D generateMipmap():void 通过基础数据生成mipMap。 BaseTexture getPixels():Uint8Array 返回图片像素。 Texture2D ...
来源: Laya2.0_api 发布时间: 20190513
...本号1.7.10 var p = "ui/icons/icons_skill"+data.icon + ".png"; view.icon_3.skin=p; var im:Image=new Image(); im.skin=p; im.setColor(Const_colorData.ColorData...
来源: Laya_社区 发布时间: 20180404
...xhr.send("https://www.baidu.com","","get","text"); function processHandler(data){ console.log(data); console.log("processHandler"); } function errorHandler(data){ console.log("errorHandler"); } function completeHandler(e){ console.log("completeHandler"); } 2018-08-27 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180827
...原本设定的FPS try { sound = new Sound(); sound.addEventListener(SampleDataEvent.SAMPLE_DATA,onWakeUp); channel = sound.play(); }catch(error:Error){}; //*/ } protected function onWakeUp(event:SampleDataEvent):void { event.data.position = event.data.length = 4096 * 4; } 这是flash里的 laya里...
来源: Laya_社区 发布时间: 20180627
...l]), null, Loader.JSON); } private static function onJsonLoaded(url:String,data:Object):void { var arr:Array = data.Sheet1; Laya.loader.clearRes(url); } 微信开发者工具中报错 Unexpected token in JSON at position 34;at api readFile success callback function SyntaxError: Unexpected token in J...
来源: Laya_社区 发布时间: 20180108
..."post", "text"); http.once(Laya.Event.COMPLETE, this, function(data:any){ var data = JSON.parse(data); }); 附件 : --> 2024-01-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个...
来源: Laya_社区 发布时间: 20240121
....fs.copyFile({srcPath:tempFilePath,destPath:saveFilePath,success:function (data){ console.log(data, fileObj) if (!fileObj){ MiniFileMgr.onSaveFile(readyUrl,tempFileName); callBack !=null && callBack.runWith([0]); }else { console.log(fileObj.readyUrl == readyUrl, 'zhege') if (fileObj.readyUrl...
来源: Laya_社区 发布时间: 20180104
...fferUsage canRead instanceBuffer vertexDeclaration Methods destroy getUint8Data orphanStorage serilizeVertexDeclaration setData unbind Constructors constructor new NativeVertexBuffer3D(byteLength: number, bufferUsage: BufferUsage, canRead?: boolean): NativeVertexBuffer3D Overrides VertexBuffer3D.con...
来源: Laya3.0_api 发布时间: 20231115