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

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

41. laya.device.motion.Accelerator [ 91%]

...ckagelaya.device.motionClasspublic class AcceleratorInheritanceAccelerator EventDispatcher Object Accelerator.instance获取唯一的Accelerator引用,请勿调用构造函数。 listen()的回调处理器接受四个参数: acceleration: 表示用户给予设备的加速度。 accelerationInclu...

来源: laya_api 发布时间: 20170929

42. laya.ani.AnimationTemplet_API3.0 [ 91%]

...Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

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

43. laya.particle.ParticleTemplate2D_API3.0 [ 90%]

...Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

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

44. laya.resource.BaseTexture_API3.0 [ 90%]

...Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

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

45. EventDispatcher.hasListener问题 [ 90%]

EventDispatcher.hasListener问题 var e:EventDispatcher = new EventDispatcher(); e.on("test", this, this.test1); e.on("test", this, this.test2); e.off("test", this, this.test1); e.off("test", this, this.test2); console.log(e.hasListener("test")); ---------------------------------------- 输出:true...

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

46. laya.resource.VideoTexture_API3.0 [ 89%]

...Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

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

47. laya.resource.Texture_API3.0 [ 89%]

...Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

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

48. laya.d3.resource.TextureCube_API3.0 [ 88%]

...Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

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

49. laya.device.motion.Gyroscope [ 88%]

... Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):voi...

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

50. laya.resource.TextureCube_API3.0 [ 88%]

...Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

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