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

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

1. laya.device.Shake_API3.0 [ 100%]

...uctors 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 Returns Shake Accessors Static instance get instance(): Shake Defined in laya/device/Shake.ts:32 Returns Shake Met...

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

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

...sLength handness 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_...

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

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

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

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

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

...uctors constructor Accessors instance Methods event hasListener off offAll offAllCaller on once Constructors constructor new Gyroscope(singleton: number): Gyroscope Defined in laya/device/motion/Gyroscope.ts:36 实例化一个Gyroscope Parameters singleton: number Returns Gyroscope Accessors Static ...

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

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

...nstructors constructor 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 实例。 Parameter...

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

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

...uctors constructor 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...

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

7. laya.events.EventDispatcher_API3.0 [ 97%]

...Shake Gyroscope Socket TimeLine Index Methods event hasListener off offAll offAllCaller on once Methods event event(type: string, data?: any): boolean Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。...

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

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

...rl 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 Defined in laya/media/Soun...

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

9. laya.net.HttpRequest_API3.0 [ 96%]

...Request 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 本对象所封装的原生 XMLH...

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

10. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 95%]

...NT_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 handness: string 设备...

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