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

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

11. laya.device.motion.Accelerator_API3.0 [ 90%]

...ndex Constructors 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(): ...

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

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

...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 Defined in laya...

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

13. laya.net.HttpRequest_API3.0 [ 88%]

...atcher 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

14. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 87%]

...H_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 handness: str...

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

15. laya.components.AnimatorState2D_API3.0 [ 87%]

... AnimatorState2D Implements IClone Index Properties clipEnd clipStart cycleOffset loop name speed yoyo Accessors clip Methods addScript clone cloneTo destroy event getScript getScripts hasListener off offAll offAllCaller on once Properties clipEnd clipEnd: number = 1 Defined in laya/components/Anima...

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

16. laya.events.EventDispatcher_API3.0 [ 87%]

...ccelerator 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

17. laya.d3.webxr.core.WebXRInput_API3.0 [ 85%]

...NDNESS_RIGHT Methods addAxisEvent addButtonEvent destroy event hasListener off offAll offAllCaller offAxisEvent offButtonEvent on once Constructors constructor new WebXRInput(handness: string): WebXRInput Defined in laya/d3/WebXR/core/WebXRInput.ts:60 Parameters handness: string Returns WebXRInput P...

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

18. laya.d3.component.animator.AnimatorState_API3.0 [ 85%]

...ors constructor Properties _isLooping clipEnd clipStart curTransition cycleOffset name speed EVENT_OnStateEnter EVENT_OnStateExit EVENT_OnStateLoop EVENT_OnStateUpdate Accessors clip islooping soloTransitions transitions Methods addScript clone cloneTo event getScript getScripts hasListener off offA...

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

19. laya.utils.TimeLine_API3.0 [ 85%]

...s total Methods addLabel destroy event from gotoLabel gotoTime hasListener off offAll offAllCaller on once pause play removeLabel reset resume to from to Properties scale scale: number = 1 Defined in laya/utils/TimeLine.ts:45 缩放动画播放的速度。 Accessors total get total(): number Defined...

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

20. 在微信分享成功的回调函数里,Laya播放音效失败。 [ 85%]

...r.clear(this, this.onLoop); //移除舞台的鼠标移动事件 Laya.stage.off(Laya.Event.MOUSE_MOVE); }  //恢复 GameEx.prototype.resume = function () { //在循环中创建敌人 Laya.timer.frameLoop(1,this,this.onLoop); console.log("恢复播放音乐") Laya.SoundManager.stopMusic(); Laya.Sound...

来源: Laya_社区 发布时间: 20180514