大约有 382 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)
...); } //侦听事件 Dispatcher.AddNotice = function(InName,caller,listener,arg){ //监听事件 Dispatcher.eventDispatcher.on(InName,caller,listener,(arg==null)?null:([arg])); console.log("arg-->"+[arg]); } return Dispatcher; })(Laya.EventDispatcher); EventDispatcher接收不到参数 派...
来源: Laya_社区 发布时间: 20170809
...e runXRRenderLoop setReferenceSpaceTypeAsync updateRenderStateAsync updateTargetFrameRate Properties baseReferenceSpace baseReferenceSpace: any Defined in laya/d3/WebXR/core/WebXRSessionManager.ts:24 baseRefernceSpace currentFrame currentFrame: any Defined in laya/d3/WebXR/core/WebXRSessionManager.t...
来源: Laya3.0_api 发布时间: 20231115
...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...
来源: Laya3.0_api 发布时间: 20231115
...听器。 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 侦听加速器运动。 Accelerator once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦...
来源: laya_api 发布时间: 20170929
...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...
来源: Laya3.0_api 发布时间: 20231115
...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...
来源: Laya3.0_api 发布时间: 20231115
... EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 侦听加速器运动。 Accelerator once(type:String, caller:*, listener:Function, args:A...
来源: Laya2.0_api 发布时间: 20190513
...位置。 Returns Node 返回添加的节点。 addChildren addChildren(...args: any[]): void Inherited from Node.addChildren Defined in laya/display/Node.ts:251 批量增加子节点 Parameters Rest ...args: any[] Returns void addComponent addComponent<T>(componentType: {}): T Inherited from ...
来源: Laya3.0_api 发布时间: 20231115
...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...
来源: Laya3.0_api 发布时间: 20231115
...t):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, a...
来源: Laya2.0_api 发布时间: 20190513