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

大约有 98 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0023 秒)

1. laya.utils.Handler [ 100%]

...* 执行域(this)。Handler  method : Function 处理方法。Handler  once : Boolean = false 表示是否只执行一次。如果为true,回调后执行recover()进行回收,回收后会被再利用,默认为false 。HandlerPublic Methods  MethodDefined By  Handler(caller:* = null, met...

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

2. laya.events.EventDispatcher [ 83%]

...事件。 EventDispatcher  off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher  offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器...

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

3. laya.utils.Timer [ 73%]

...ore:Boolean = true):void 定时重复执行(基于帧率)。 Timer  frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次(基于帧率)。 Timer  loop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = t...

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

4. laya.device.Shake [ 57%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

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

5. laya.media.Sound [ 55%]

...:void 加载声音。 Sound off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 ...

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

6. laya.device.motion.Gyroscope [ 53%]

...| Frames No Frames GyroscopeProperties | Methods Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientat...

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

7. laya.d3.core.pixelLine.PixelLineRenderer [ 52%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

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

8. laya.display.Node [ 51%]

...某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node  frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能同Laya.timer.frameOnce()。 Node  getChildAt(index:int):Node 根据子节点...

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

9. laya.device.motion.Accelerator [ 51%]

...Frames No Frames AcceleratorProperties | Methods Packagelaya.device.motionClasspublic class AcceleratorInheritanceAccelerator EventDispatcher Object Accelerator.instance获取唯一的Accelerator引用,请勿调用构造函数。 listen()的回调处理器接受四个参数: acceleration: 表...

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

10. laya.d3.animation.AnimationTransform3D [ 51%]

...No Frames AnimationTransform3DProperties | Methods Packagelaya.d3.animationClasspublic class AnimationTransform3DInheritanceAnimationTransform3D EventDispatcher Object AnimationTransform3D 类用于实现3D变换。 Public Properties PropertyDefined By  localRotation : QuaternionAnimationTransf...

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