大约有 479 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)
Laya3.0_api(154) laya_api(104) Laya2.0_api(97) Laya_社区(91) Laya3.0_文档(10) Laya2.0_示例(8) Laya2.0_文档(8) Laya_示例(7)
...cher Sound 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 释放声音...
来源: Laya3.0_api 发布时间: 20231115
...ndex Constructors 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 Access...
来源: Laya3.0_api 发布时间: 20231115
...3D Index Constructors 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 实例...
来源: Laya3.0_api 发布时间: 20231102
...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
...ginPosition); } /**抬起事件处理*/ function onMouseUp(e) { Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); Laya.stage.off(Event.MOUSE_UP, this, onMouseUp); Laya.stage.off(Event.MOUSE_OUT, this, onMouseUp); // 滑动到目的地 var dist = Laya.stage.mouseX - buttonPosition; var targetX = b...
来源: Laya_示例 发布时间: 20241002
...*/ onMouseUp(e) { const Event = Laya.Event, Tween = Laya.Tween; Laya.stage.off(Event.MOUSE_MOVE, this, this.onMouseMove); Laya.stage.off(Event.MOUSE_UP, this, this.onMouseUp); Laya.stage.off(Event.MOUSE_OUT, this, this.onMouseUp); // 滑动到目的地 let dist = Laya.stage.mouseX - buttonPosition; ...
来源: Laya2.0_示例 发布时间: 20241002
...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
...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
...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
...<mx:Canvas width="144" height="590" x="0" y="0" horizontalScrollPolicy="off" verticalScrollPolicy="off"> <!-- left border --> <mx:Canvas x="0" y="0" width="4" height="590" backgroundColor="#c9c9c9" borderColor="#000...
来源: Laya_社区 发布时间: 20180202