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

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

1. Laya.EventDispatcher off 删除侦听器 [ 100%]

Laya.EventDispatcher off 删除侦听器       var eventDis = new Laya.EventDispatcher()     eventDis.on('TEST_EVENT_DIS', this, someEventHandler, null)     eventDis.off('TEST_EVENT_DIS', this, another_eventHandler, false) off 怎样才能 从 EventDispatcher 对象中删除侦听器? ...

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

2. laya.device.Shake_API3.0 [ 99%]

...e Class Shake Shake只能在支持此操作的设备上有效。 Hierarchy EventDispatcher Shake Index Constructors constructor Accessors instance Methods event hasListener off offAll offAllCaller on once start stop Constructors constructor new Shake(): Shake Defined in laya/device/Shake.ts:23 Retur...

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

3. laya.d3.webxr.core.AxiGamepad_API3.0 [ 99%]

...Gamepad" AxiGamepad Class AxiGamepad 类用来描述gamepad Axis Hierarchy EventDispatcher AxiGamepad Index Properties axisLength handness EVENT_OUTPUT Methods destroy event hasListener off offAll offAllCaller on once Properties axisLength axisLength: number Defined in laya/d3/WebXR/core/WebXRGamepa...

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

4. laya.media.Sound_API3.0 [ 99%]

...有兼容问题(比如不能混音,播放有延迟等)。 Hierarchy EventDispatcher Sound Index Accessors duration Methods dispose event hasListener load off offAll offAllCaller on once play Accessors duration get duration(): number Defined in laya/media/Sound.ts:31 获取总时间。 Returns ...

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

5. laya.device.motion.Gyroscope_API3.0 [ 99%]

...兼容性参见:http://caniuse.com/#search=deviceorientation Hierarchy EventDispatcher Gyroscope Index Constructors constructor Accessors instance Methods event hasListener off offAll offAllCaller on once Constructors constructor new Gyroscope(singleton: number): Gyroscope Defined in laya/device/m...

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

6. laya.d3.animation.AnimationTransform3D_API3.0 [ 98%]

...ationTransform3D AnimationTransform3D 类用于实现3D变换。 Hierarchy EventDispatcher AnimationTransform3D Index Constructors constructor Methods event getWorldMatrix hasListener off offAll offAllCaller on once setParent Constructors constructor new AnimationTransform3D(owner: AnimationNode): A...

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

7. laya.device.motion.Accelerator_API3.0 [ 98%]

...ma使用beta。 目前孰是孰非尚未可知,以此为注。 Hierarchy EventDispatcher Accelerator Index Constructors constructor Accessors instance Methods event hasListener off offAll offAllCaller on once getTransformedAcceleration Constructors constructor new Accelerator(): Accelerator Define...

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

8. laya.media.SoundChannel_API3.0 [ 98%]

...放时间、总循环次数、播放地址等信息的方法。 Hierarchy EventDispatcher SoundChannel Index Properties completeHandler isStopped loops startTime url Accessors duration position volume Methods event hasListener off offAll offAllCaller on once pause play resume stop Properties complet...

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

9. EventDispatcheroff函数的bug [ 97%]

EventDispatcheroff函数的bug 如截图,这里应该是: if (listeners !=null){ 附件 : --> 2018-12-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 已经改了,下个版本...

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

10. laya.net.HttpRequest_API3.0 [ 97%]

...请求被重置,从而得不到之前请求的响应结果。 Hierarchy EventDispatcher HttpRequest Index Accessors data http url Methods event hasListener off offAll offAllCaller on once reset send Accessors data get data(): any Defined in laya/net/HttpRequest.ts:192 返回的数据。 Returns an...

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