大约有 435 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0034 秒)
Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya_社区(56) Laya2.0_示例(8) Laya_示例(7) Laya2.0_文档(6) Laya3.0_文档(5)
...mory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Properties _id _id: number = 0 Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Defined in laya/resource/Resource.ts:112 是否...
来源: Laya3.0_api 发布时间: 20231115
...oot I Methods event getBodyCount getContactCount getJointCount hasListener off offAll offAllCaller on once start stop updatePhysicsByWorldRoot enable Constructors constructor new Physics(): Physics Defined in laya/physics/Physics.ts:39 Returns Physics Properties box2d box2d: any = (<any>window...
来源: Laya3.0_api 发布时间: 20231115
...ext); } /* 停止滚动文本 */ function finishScrollText(e) { Laya.stage.off(Event.MOUSE_MOVE, this, scrollText); Laya.stage.off(Event.MOUSE_UP, this, finishScrollText); } /* 鼠标滚动文本 */ function scrollText(e) { var nowX = txt.mouseX; var nowY = txt.mouseY; txt.scrollX += prevX - nowX; t...
来源: Laya_示例 发布时间: 20241119
取消监听鼠标移动事件,取消不了 Laya.stage.off(Laya.Event.MOUSE_MOVE,this,null); 第三个参数是函数,不能为null吗?是不是和on绑定时的同一个函数,如果on里面用匿名函数,off第三个参数怎么写? 2018-06-23 添加评论 免费帖 --> 分享 微博...
来源: Laya_社区 发布时间: 20180623
...utton; } function onDecreaseAlpha1(e) { //移除鼠标单击事件 button1.off(Event.CLICK, this, onDecreaseAlpha1); //定时执行一次(间隔时间) Laya.timer.once(3000, this, onComplete1); } function onDecreaseAlpha2(e) { //移除鼠标单击事件 button2.off(Event.CLICK, this, onDecreaseAlpha...
来源: Laya_示例 发布时间: 20241119
...滚动文本 */ finishScrollText(e) { const Event = Laya.Event; Laya.stage.off(Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.off(Event.MOUSE_UP, this, this.finishScrollText); } /* 鼠标滚动文本 */ scrollText(e) { const Event = Laya.Event; let nowX = this.txt.mouseX; let nowY = this.txt.m...
来源: Laya2.0_示例 发布时间: 20241119
...ha1(e) { const Event = Laya.Event; //移除鼠标单击事件 this.button1.off(Event.CLICK, this, this.onDecreaseAlpha1); //定时执行一次(间隔时间) Laya.timer.once(3000, this, this.onComplete1); } onDecreaseAlpha2(e) { const Event = Laya.Event; //移除鼠标单击事件 this.button2.off(Ev...
来源: Laya2.0_示例 发布时间: 20241119
...mory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new ScreenTriangle(): ScreenTriangle Overrides Resource.__constructor Defined in laya/d3/core/render/ScreenTriangle.ts:43 创建一个 ScreenTria...
来源: Laya3.0_api 发布时间: 20231102
...sed playDuration playEnd playStart state templet Methods event hasListener off offAll offAllCaller on once play playByFrame stop Constructors constructor new AnimationPlayer(): AnimationPlayer Defined in laya/ani/AnimationPlayer.ts:268 创建一个 AnimationPlayer 实例。 Returns AnimationPlayer P...
来源: Laya3.0_api 发布时间: 20231115
...mory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new TextResource(data: any, format: TextResourceFormat): TextResource Overrides Resource.__constructor Defined in laya/resource/TextResource.ts:2...
来源: Laya3.0_api 发布时间: 20231115