大约有 153 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
...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
...使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):void absolute: 指示设备是否可以提供绝对方位数据(指向地球坐标系),或者...
来源: Laya3.0_api 发布时间: 20231115
...r Accelerator.instance获取唯一的Accelerator引用,请勿调用构造函数。 listen()的回调处理器接受四个参数: acceleration: 表示用户给予设备的加速度。 accelerationIncludingGravity: 设备受到的总加速度(包含重力)。 rotationRate: 设备的自转速...
来源: Laya3.0_api 发布时间: 20231115
... 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
... 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
... 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
... 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
... 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
...worldRoot 时平移一次,其他情况请配合 updatePhysicsByWorldRoot 函数使用 Returns Sprite Defined in laya/physics/Physics.ts:237 物理世界根容器,将根据此容器作为物理世界坐标世界,进行坐标变换,默认值为stage 设置特定容器后,就可整体位移...
来源: Laya3.0_api 发布时间: 20231115
... 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