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

大约有 687 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0069 秒)

461. laya.display.Sprite_API3.0 [ 43%]

...te 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针...

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

462. laya.media.VideoTexture_API3.0 [ 43%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

463. laya.display.Sprite [ 43%]

...te 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针...

来源: Laya2.0_api 发布时间: 20190513

464. laya.d3.core.Sprite3D_API3.0 [ 42%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

465. laya.d3.core.light.PointLight [ 42%]

...制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Sprite3D destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 E...

来源: laya_api 发布时间: 20170929

466. laya.d3.core.light.DirectionLight [ 42%]

...制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Sprite3D destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 E...

来源: laya_api 发布时间: 20170929

467. 【简单跑酷--JS版】---Lv.6 终篇 [ 41%]

...s.player.x = 32 * 8; this.player.y = 32 * 4; this.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); Laya.stage.on(laya.events.Event.MOUSE_UP, this, this.onMouseUp); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, thi...

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

468. laya.ui.AsynDialog [ 41%]

...适合写一些只执行一次的逻辑,比如资源加载,节点事件监听 onOpen在页面每次打开都会执行,适合做一些每次都需要处理的事情,比如消息请求,根据数据初始化页面 onClose在每次关闭的时候调用,适合关闭时停止动画,网络消...

来源: laya_api 发布时间: 20170929

469. laya.utils.TimeLine [ 41%]

...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Even...

来源: Laya2.0_api 发布时间: 20190513

470. laya.d3.core.light.SpotLight [ 41%]

...制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Sprite3D destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 E...

来源: laya_api 发布时间: 20170929