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

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

1. laya.utils.Handler_API3.0 [ 100%]

...archy Handler Index Constructors constructor Properties args caller method once Methods clear recover run runWith setTo create Constructors constructor new Handler(caller?: Object | null, method?: Function | null, args?: any[] | null, once?: boolean): Handler Defined in laya/utils/Handler.ts:23 根...

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

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

...or Accessors instance Methods event hasListener off offAll offAllCaller on once start stop Constructors constructor new Shake(): Shake Defined in laya/device/Shake.ts:23 Returns Shake Accessors Static instance get instance(): Shake Defined in laya/device/Shake.ts:32 Returns Shake Methods event event...

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

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

... EVENT_OUTPUT Methods destroy event hasListener off offAll offAllCaller on once Properties axisLength axisLength: number Defined in laya/d3/WebXR/core/WebXRGamepad.ts:16 轴数量 handness handness: string Defined in laya/d3/WebXR/core/WebXRGamepad.ts:12 轴设备名字 Static EVENT_OUTPUT EVENT_OUT...

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

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

...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 number Methods dispose dispose(): void Defined in laya/media/Sound.ts:38 释放声音资源。 Returns void even...

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

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

...数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):void absolute: 指示设备是否可以提供绝对方位数据(指向地球坐标系),或者设备决定的任意坐标系。关于坐标系参见https://developer.mozilla....

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

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

...ructor Methods event getWorldMatrix hasListener off offAll offAllCaller on once setParent Constructors constructor new AnimationTransform3D(owner: AnimationNode): AnimationTransform3D Defined in laya/d3/animation/AnimationTransform3D.ts:30 创建一个 Transform3D 实例。 Parameters owner: Animati...

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

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

...or Accessors instance Methods event hasListener off offAll offAllCaller on once getTransformedAcceleration Constructors constructor new Accelerator(): Accelerator Defined in laya/device/motion/Accelerator.ts:44 Returns Accelerator Accessors Static instance get instance(): Accelerator Defined in laya...

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

8. laya.utils.Delegate_API3.0 [ 90%]

...uctors constructor Accessors count Methods add clear clearForTarget invoke once remove Constructors constructor new Delegate(): Delegate Defined in laya/utils/Delegate.ts:5 Returns Delegate Accessors count get count(): number Defined in laya/utils/Delegate.ts:77 Returns number Methods add add(callba...

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

9. laya.media.SoundChannel_API3.0 [ 90%]

...ation 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 Defined in laya/media/SoundChannel.ts:24 ...

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

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

...cessors 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 本对象所封装的原生 XMLHttpRequest 引...

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