大约有 318 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0041 秒)
Laya_社区(202) Laya3.0_api(66) Laya2.0_文档(13) Laya3.0_文档(12) Laya2.0_示例(9) Laya_示例(8) laya_api(4) Laya2.0_api(4)
..."destination-out"; ape.addChild(interactionArea); interactionArea.graphics.clear(); } function onMouseMove(e) { if(mouseX!=0){ if(Math.abs(mouseX-ape.mouseX)>= 360){ //滑动超过多少距离 自动开奖 ape.visible = false; mouseX = ape.mouseX; } }else{ mouseX = ape.mouseX; } interactionArea.g...
来源: Laya_社区 发布时间: 20170615
...oader.load(value.url, ls.Handler.create(this, function () { _this.graphics.clear() var texture = window.Laya.loader.getRes(value.url) _this.graphics.drawTexture(texture) _this.scaleX = _this.set_width / texture.sourceWidth _this.pivotX = _this.row_data.property.x_m * texture.sourceWidth _this.pivotY...
来源: Laya_社区 发布时间: 20180530
...json图集加载问题 ios原生回调问题 关于removechild、destory、clear的问题 mask在layaplayer中有问题 Panel中的东西左右拖动好象有问题 laya1.7.9beta版 关于apk打包动画卡的问题 问题状态 最新活动: 2018-01-21 13:22 浏览: 1054 关注: 3 人 zszen • 201...
来源: Laya_社区 发布时间: 20180117
...请: 与内容相关的链接 提交 5 个回复 Xiiiyue 赞同来自: //clear context references Laya.Render._context.destroy(false); Laya.RenderContext3D._instance.scene = null; Laya.RenderContext3D._instance.camera = null; //clearshaders let shaderIncetance = Laya.RenderContext3D._instance.shad...
来源: Laya_社区 发布时间: 20191102
...///接收到数据触发函数 trace("receiveHandler msg:",msg); this.byte.clear(); this.byte.writeArrayBuffer(msg);//把接收到的二进制数据读进byte数组便于解析。 this.byte.pos = 0;//设置偏移指针; trace('getInt16=',this.byte.getInt16()); trace('getInt32=',this.byte.getInt32(...
来源: Laya_社区 发布时间: 20180202
...渲染吗? Image元件读不了资料流 关于removechild、destory、clear的问题 问题状态 最新活动: 2018-10-10 15:18 浏览: 3365 关注: 2 人 Leon • 2018-10-10 15:36 感谢,可是var不写东西,怎么通过this.xx调用? hj • 2018-10-10 15:38 你看一下我给你改的...
来源: Laya_社区 发布时间: 20181010
...屏的iphone上不能正常显示的问题 关于removechild、destory、clear的问题 问题状态 最新活动: 2018-05-11 09:25 浏览: 1126 关注: 3 人 白桦 • 2018-05-10 16:42 能否告知一下写法,谢谢,因为第一次接触js。 我尝试过这样写ape.loadImage("../laya/a...
来源: Laya_社区 发布时间: 20180510
...private _sp = new Laya.Sprite(); private _testMask() { this._sp.graphics.clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.mask = this._sp; }) }之后编译项目 2. 使用iphone手机的safari扫码功能运行项目 3秒中之后必现...
来源: Laya_社区 发布时间: 20191216
...new Laya.Sprite(); testSp.width = 200; testSp.height = 50; testSp.graphics.clear(); testSp.graphics.drawRect(0, 0, testSp.width, testSp.height,'#FF0000'); let tmpMask = new Laya.Sprite(); tmpMask.width = testSp.width; tmpMask.height = testSp.height; tmpMask.graphics.clear(); tmpMask.graphics.drawRec...
来源: Laya_社区 发布时间: 20200421
...this.drawHandler);}private function drawHandler():void{Laya.stage.graphics.clear();var dataArray:Uint8Array = new Uint8Array(analyser.frequencyBinCount);analyser.getByteFrequencyData(dataArray);var step:int = Math.round(dataArray.length / 60);for (var i:int = 0; i < 40; i++) {var energy:int = (da...
来源: Laya_社区 发布时间: 20181023