• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 321 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)

171. Laya 绑定显示内容到骨骼动画 [ 64%]

....offestX+position.y; } }  destroy(destroyChild?:boolean):void{ this.timer.clear(this,this.__updateBinds); this.__bindList.length=0; this.__bindList=null; super.destroy(destroyChild); } }   2. 可绑定到骨骼的内容 /** * 可绑定到骨骼的内容(实现者必须是Laya.Sprite的子类)...

来源: Laya_社区 发布时间: 20190805

172. 可能有个昵称叫做“syy”的一只掉进粪坑里的猪会在下面乱叫 [ 64%]

...下,两个相同颜色图片的边缘有可能会出现黑线 Laya.Timer.clear 的源码可能有个问题。 Byte 类中的报错信息的可能原因? app构建IOS包 进入游戏提示加载游戏失败,可能由于你的网络不稳定,请退出重进 问题状态 最新活动: 2018-12-0...

来源: Laya_社区 发布时间: 20181204

173. 关于创建Sprite获取大小 [ 64%]

...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

174. 刮刮卡效果实现 [ 64%]

..."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

175. 3d下阴影渲染问题求解 [ 64%]

...json图集加载问题 ios原生回调问题 关于removechild、destory、clear的问题 mask在layaplayer中有问题 Panel中的东西左右拖动好象有问题 laya1.7.9beta版 关于apk打包动画卡的问题 问题状态 最新活动: 2018-01-21 13:22 浏览: 1054 关注: 3 人 zszen • 201...

来源: Laya_社区 发布时间: 20180117

176. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 64%]

...请: 与内容相关的链接 提交 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

177. socket报错,on: reserved1 = 1, reserved2 = 1, reserved3 = 0 [ 63%]

...///接收到数据触发函数 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

178. laya2.0 runtime问题 [ 63%]

...渲染吗? 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

179. Laya.Handler.create 回调参数问题 [ 63%]

...屏的iphone上不能正常显示的问题 关于removechild、destory、clear的问题 问题状态 最新活动: 2018-05-11 09:25 浏览: 1126 关注: 3 人 白桦 • 2018-05-10 16:42 能否告知一下写法,谢谢,因为第一次接触js。 我尝试过这样写ape.loadImage("../laya/a...

来源: Laya_社区 发布时间: 20180510

180. (最新版ide和库已经测试)iOS环境浏览器使用mask黑屏 [ 63%]

...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