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

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

11. laya.device.motion.Gyroscope [ 94%]

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

来源: laya_api 发布时间: 20170929

12. laya.device.motion.Gyroscope [ 94%]

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

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

13. laya.device.motion.Accelerator [ 94%]

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

来源: laya_api 发布时间: 20170929

14. laya.media.SoundChannel_API3.0 [ 94%]

...ed loops startTime url Accessors duration position volume Methods event hasListener off offAll offAllCaller on once pause play resume stop Properties completeHandler completeHandler: Handler Defined in laya/media/SoundChannel.ts:28 播放完成处理器。 isStopped isStopped: boolean = false Define...

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

15. laya.events.EventDispatcher [ 94%]

...(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher  isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDisp...

来源: laya_api 发布时间: 20170929

16. laya.device.motion.Accelerator [ 93%]

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

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

17. laya.net.HttpRequest_API3.0 [ 93%]

...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 any http get http(): any Defined in laya/net/HttpRequest.ts:199 本对象所...

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

18. laya.events.EventDispatcher [ 93%]

...(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher  isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDisp...

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

19. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 93%]

...VENT_TOUCH_ENTER EVENT_TOUCH_OUT EVENT_TOUCH_STAY Methods destroy event hasListener off offAll offAllCaller on once Constructors constructor new ButtonGamepad(handness: string, index: number): ButtonGamepad Defined in laya/d3/WebXR/core/WebXRGamepad.ts:104 类用于创建Button对象 Parameters hand...

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

20. laya.components.AnimatorState2D_API3.0 [ 92%]

...clip Methods addScript clone cloneTo destroy event getScript getScripts hasListener off offAll offAllCaller on once Properties clipEnd clipEnd: number = 1 Defined in laya/components/AnimatorState2D.ts:55 动作播放结束时间。 clipStart clipStart: number = 0 Defined in laya/components/AnimatorS...

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