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

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

1. laya.d3.graphics.StaticBatchManager [ 100%]

...rInheritanceStaticBatchManager Object StaticBatchManager 类用于静态批处理管理的父类。 Public Methods  MethodDefined By  StaticBatchManager() 创建一个 StaticBatchManager 实例。 StaticBatchManager  combine(staticBatchRoot:Sprite3D, renderableSprite3Ds:Vector.<RenderableSpr...

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

2. laya.utils.Handler [ 98%]

...a.utilsClasspublic class HandlerInheritanceHandler Object Handler 是事件处理器类。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建的 Handler 对象不再使用,可以使用 Handler.recover() 将其回收到对象池,回收不要再使用...

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

3. laya.device.motion.Gyroscope [ 80%]

...取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):void absolute: 指示设备是否可以提供绝对方位数据(指向地球坐标系),或者设备决定的任意坐标...

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

4. laya.net.Loader [ 80%]

...加载完成回调使用的最大超时时间,如果超时,则下帧再处理,防止帧卡顿。Loader  parserMap : Object[static] 资源解析函数对应表,用来扩展更多类型的资源加载解析。Loader  type : String[read-only] 加载类型。Loader  typeMap : Object[static...

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

5. laya.device.motion.Accelerator [ 70%]

...唯一的Accelerator引用,请勿调用构造函数。 listen()的回调处理器接受四个参数: acceleration: 表示用户给予设备的加速度。 accelerationIncludingGravity: 设备受到的总加速度(包含重力)。 rotationRate: 设备的自转速率。 interval: 加速度获...

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

6. laya.media.SoundChannel [ 70%]

...ic Properties PropertyDefined By  completeHandler : Handler 播放完成处理器。 SoundChannel  duration : Number[read-only] 获取总时间,单位是秒。 SoundChannel  isStopped : Boolean = false 表示声音是否已暂停。 SoundChannel  loops : int 循环次数。 SoundChannel ...

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

7. laya.ui.List [ 57%]

...则不会更改)。 Sprite  mouseHandler : Handler单元格鼠标事件处理器(默认返回参数e:Event,index:int)。List mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开...

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

8. laya.net.URL [ 53%]

...返回。 Parameters url:String — 地址。 ReturnsString — 格式化处理的地址。 getFileName()method  public static function getFileName(url:String):String 获取指定 URL 的文件名。 Parameters url:String — 地址。 ReturnsString — 返回文件名。 getPath()method  publi...

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

9. laya.ui.Tree [ 52%]

...不会更改)。 Sprite  mouseHandler : Handler 单元格鼠标事件处理器。 默认返回参数(e:Event,index:int)。 Tree mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从sta...

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

10. laya.ui.ViewStack [ 50%]

...s IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中...

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