大约有 31 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
...rInheritanceStaticBatchManager Object StaticBatchManager 类用于静态批处理管理的父类。 Public Methods MethodDefined By StaticBatchManager() 创建一个 StaticBatchManager 实例。 StaticBatchManager combine(staticBatchRoot:Sprite3D, renderableSprite3Ds:Vector.<RenderableSpr...
来源: Laya2.0_api 发布时间: 20190513
...a.utilsClasspublic class HandlerInheritanceHandler Object Handler 是事件处理器类。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建的 Handler 对象不再使用后,可以使用 Handler.recover() 将其回收到对象池,回收后不要再使用...
来源: Laya2.0_api 发布时间: 20190513
...取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):void absolute: 指示设备是否可以提供绝对方位数据(指向地球坐标系),或者设备决定的任意坐标...
来源: Laya2.0_api 发布时间: 20190513
...加载完成回调使用的最大超时时间,如果超时,则下帧再处理,防止帧卡顿。Loader parserMap : Object[static] 资源解析函数对应表,用来扩展更多类型的资源加载解析。Loader type : String[read-only] 加载类型。Loader typeMap : Object[static...
来源: Laya2.0_api 发布时间: 20190513
...唯一的Accelerator引用,请勿调用构造函数。 listen()的回调处理器接受四个参数: acceleration: 表示用户给予设备的加速度。 accelerationIncludingGravity: 设备受到的总加速度(包含重力)。 rotationRate: 设备的自转速率。 interval: 加速度获...
来源: Laya2.0_api 发布时间: 20190513
...ic Properties PropertyDefined By completeHandler : Handler 播放完成处理器。 SoundChannel duration : Number[read-only] 获取总时间,单位是秒。 SoundChannel isStopped : Boolean = false 表示声音是否已暂停。 SoundChannel loops : int 循环次数。 SoundChannel ...
来源: Laya2.0_api 发布时间: 20190513
...则不会更改)。 Sprite mouseHandler : Handler单元格鼠标事件处理器(默认返回参数e:Event,index:int)。List mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开...
来源: Laya2.0_api 发布时间: 20190513
...返回。 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
...不会更改)。 Sprite mouseHandler : Handler 单元格鼠标事件处理器。 默认返回参数(e:Event,index:int)。 Tree mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从sta...
来源: Laya2.0_api 发布时间: 20190513
...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