大约有 21 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0028 秒)
...iew var clientBox = Browser._container.getBoundingClientRect() this._point.setTo((e.pageX || e.clientX)-clientBox.x - win.pageXOffset - docElem.clientLeft,(e.pageY || e.clientY)-clientBox.y - win.pageYOffset - docElem.clientTop); // this._point.setTo(e.pageX || e.clientX, e.pageY || e.clientY); if (...
来源: Laya_社区 发布时间: 20191227
...通知,此侦听事件响应一次后自动移除。 EventDispatcher setTo(bitmap:Bitmap = null, uv:Array = null):void 设置此对象的位图资源、UV数据信息。 TextureEvents Event Summary Defined By loaded资源加载完成后调度。TextureProperty Detail_atlasIDpropertypublic v...
来源: laya_api 发布时间: 20170929
...itmap(onok:Function = null):void 通过url强制恢复bitmap。 Texture setTo(bitmap:Texture2D = null, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0):void 设置此对象的位图资源、UV数据信息。 TextureEvents Event Summary Defined By ready资源加载完成后调...
来源: Laya2.0_api 发布时间: 20190513
...ent() button.event(Laya.Event.CLICK, event.setTo(Laya.Event.CLICK, button, button)); 2019-05-21 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 直接调用 sprite1CallBack(); 2018-07-24 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...
来源: Laya_社区 发布时间: 20180724
...Key key keyCode keyLocation metaKey shiftKey stageX stageY touches Methods setTo stopPropagation isMouseEvent Constructors constructor new Event(): Event Defined in laya/events/Event.ts:195 Returns Event Properties button button: number = 0 Defined in laya/events/Event.ts:187 鼠标按键, 0:主...
来源: Laya3.0_api 发布时间: 20231115
..._this._stage.event(/*laya.events.Event.MOUSE_OUT*/"mouseout",_this._event.setTo(/*laya.events.Event.MOUSE_OUT*/"mouseout",_this._stage,_this._stage)); break ; case "mouseover": _thi...
来源: Laya_社区 发布时间: 20170614
...istener isCreateFromURL load off offAll offAllCaller on once recoverBitmap setTo create createFromTexture destroyUnusedResources Constructors constructor new Texture(source?: Texture | BaseTexture, uv?: ArrayLike<number>, sourceWidth?: number, sourceHeight?: number): Texture Overrides Resource...
来源: Laya3.0_api 发布时间: 20231115
...Point || (this._lastPoint=new Point()); this._lastPoint.setTo(Laya.stage.mouseX,Laya.stage.mouseY); Laya.timer.clear(this,this.tweenMove); Tween.clearTween(this); Laya.stage.once(/*laya.events.Event.MOUSE_UP*/"mouseup",this,this.onSt...
来源: Laya_社区 发布时间: 20201118
...豆蚕 let event = new Laya.Event() button.event(Laya.Event.CLICK, event.setTo(Laya.Event.CLICK, button, button)); 2019-05-21 1 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 可以用自定义事件来实现你说的功能。具体的用法可以参考下这个帖子:自定义...
来源: Laya_社区 发布时间: 20170815
...Handler.runWith(1); //可以自行调用runWith(),并传入参数1 6,setTo(caller: any, method: Function | null, args: any[] | null, once = false): Handler 设置此对象的指定属性值。 onAwake(): void { console.log("Game Start"); this.Tab.selectHandler = Laya.Handler.create(this,(index...
来源: Laya3.0_文档 发布时间: 20240910