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

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

1. laya.utils.Timer [ 100%]

... args:Array = null):void 延迟执行。 Parameters caller:* — 执行域(this)。  method:Function — 定时器回调函数。  args:Array (default = null) — 回调参数。 clear()method  public function clear(caller:*, method:Function):void 清理定时器。 Parameters caller:* — 执行...

来源: laya_api 发布时间: 20170929

2. laya.utils.Tween [ 95%]

...属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。  duration:int — 花费的时间,单位毫秒。  ease:Function (default = null) — 缓动类型,默认为匀速运动。  complete:Handler (default = null) ...

来源: laya_api 发布时间: 20170929

3. laya.utils.Handler [ 89%]

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

来源: laya_api 发布时间: 20170929

4. laya.utils.ClassUtils [ 74%]

...me":"item1", "scale":[2,2] }, "child":[ { "type":"Text", "props":{ "text":"this is a test", "var":"label", "rumtime":"" } } ] } ClassUtils  getInstance(className:String):*[static] 根据名称创建 Class 实例。 ClassUtils  getRegClass(className:String):*[static] 返回注册 Class 映射。 ...

来源: laya_api 发布时间: 20170929

5. laya.display.Node [ 74%]

...。功能同Laya.timer.clearTimer()。 Parameters caller:* — 执行域(this)。  method:Function — 结束时的回调方法。 contains()method  public function contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Parameters node:Node — 指定的 Node 节点对...

来源: laya_api 发布时间: 20170929

6. laya.display.Sprite [ 23%]

...lean (default = false) — (可选)是否极速模式,正常是调用this.x=value进行赋值,极速模式直接调用内部函数处理,如果未重写x,y属性,建议设置为急速模式性能更高。 ReturnsSprite — 返回对象本身。 reCache()method  public function reCache()...

来源: laya_api 发布时间: 20170929