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

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

1. laya.d3.webxr.core.WebXRInput_API3.0 [ 100%]

...index: number axis索引 type: string 事件类型 caller: any 事件侦听函数的执行域。 listener: Function 事件侦听函数。 Returns void addButtonEvent addButtonEvent(index: number, type: string, caller: any, listener: Function): void Defined in laya/d3/WebXR/core/WebXRInput.ts:143 add...

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

2. laya.device.motion.Gyroscope_API3.0 [ 95%]

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

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

3. laya.device.motion.Accelerator_API3.0 [ 94%]

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

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

4. laya.device.Shake_API3.0 [ 92%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

5. laya.d3.webxr.core.AxiGamepad_API3.0 [ 92%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

6. laya.events.EventDispatcher_API3.0 [ 92%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: any[] Returns EventDispatcher offAll...

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

7. laya.media.Sound_API3.0 [ 92%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

8. laya.d3.animation.AnimationTransform3D_API3.0 [ 91%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

9. laya.physics.Physics_API3.0 [ 90%]

...worldRoot 时平移一次,其他情况请配合 updatePhysicsByWorldRoot 函数使用 Returns Sprite Defined in laya/physics/Physics.ts:237 物理世界根容器,将根据此容器作为物理世界坐标世界,进行坐标变换,默认值为stage 设置特定容器后,就可整体位移...

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

10. laya.media.SoundChannel_API3.0 [ 89%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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