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

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

161. Laya.Sprite loadImage 参数问题 [ 72%]

...L); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //原始位图 this.createImg(100,50); //红色滤镜 this.creteRedFilter(); //灰色滤镜 this.createGrayFilter(); } /**创建位图**/ private createImg(w:number,h:number):Laya.Sprite{ var Img:Laya.Sprite = new Laya.Sprite(); //添加到...

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

162. laya.map.GridSprite_API3.0 [ 72%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

来源: Laya3.0_api 发布时间: 20231115

163. laya.device.media.Video_API3.0 [ 72%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:536 当前容器是否包含指定的 Node 节点对象 ...

来源: Laya3.0_api 发布时间: 20231102

164. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

...ROR:连接出错时触发。 示例代码: // 注册事件监听示例 this.socket.on(Laya.Event.OPEN, this, this.onSocketOpen); this.socket.on(Laya.Event.MESSAGE, this, this.onMessageReceived); this.socket.on(Laya.Event.CLOSE, this, this.onSocketClose); this.socket.on(Laya.Event.ERROR, this, th...

来源: Laya3.0_文档 发布时间: 20251010

165. laya.particle.Particle2D_API3.0 [ 71%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

来源: Laya3.0_api 发布时间: 20231115

166. laya.media.SoundNode_API3.0 [ 71%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

来源: Laya3.0_api 发布时间: 20231115

167. Laya.Handler.create 回调 [ 71%]

...reate 回调 Laya.Tween.to(right, {x: 0} , 700 ,null , Laya.Handler.create(this,this.onStartOver1, [anim])); onStartOver1(bads: Array<any>): void { alert("1" + bads.length) var animsf :Laya.Animation = bads[0] as Laya.Animation; animsf.play(); } 这样用会报错 2017-03-09 添加评论 免...

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

168. laya.display.EffectAnimation_API3.0 [ 71%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

来源: Laya3.0_api 发布时间: 20231115

169. laya.spine.SpineSkeleton_API3.0 [ 71%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

来源: Laya3.0_api 发布时间: 20231115

170. Laya.timer.loop调用后出现Cannot read property 'loop' of null [ 71%]

...loop调用后出现Cannot read property 'loop' of null Laya.timer.loop(100,this,function():void{trace(90890789078);}); 报错: Uncaught TypeError: Cannot read property 'loop' of null at new LayaUISample (LayaUISample.max.js:394) at LayaUISample.max.js:29731 at LayaUISample.max.js:29733 2017-02-14 ...

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