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

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

1. laya.media.SoundChannel_API3.0 [ 100%]

...有混合在一起的多个声道。 SoundChannel 类包含控制声音的播放、暂停、停止、音量的方法,以及获取声音的播放状态、总时间、当前播放时间、总循环次数播放地址等信息的方法。 Hierarchy EventDispatcher SoundChannel Index Properties comp...

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

2. laya.media.SoundManager_API3.0 [ 99%]

...oundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默认有两套声音方案:WebAudio和H5Audio 播放音效,优先使用WebAudio播放声音,如果WebAudio不可用,则用H5Audio播放,H5Audio在部分机器上有兼容问题(比如...

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

3. laya.d3.component.AnimatorPlayState_API3.0 [ 96%]

...orPlayState Class AnimatorPlayState AnimatorPlayState 类用于创建动画播放状态信息。 Hierarchy AnimatorPlayState Index Constructors constructor Accessors animatorState duration normalizedTime Constructors constructor new AnimatorPlayState(): AnimatorPlayState Defined in laya/d3/component...

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

4. laya.d3.component.animator.AnimatorPlayState_API3.0 [ 93%]

...orPlayState Class AnimatorPlayState AnimatorPlayState 类用于创建动画播放状态信息。 Hierarchy AnimatorPlayState Index Constructors constructor Accessors animatorState currentState duration normalizedTime Constructors constructor new AnimatorPlayState(): AnimatorPlayState Defined in laya...

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

5. laya.media.Sound_API3.0 [ 78%]

...ported Menu Globals "laya/media/Sound" Sound Class Sound Sound 类是用来播放控制声音的类。 引擎默认有两套声音方案,优先使用WebAudio播放声音,如果WebAudio不可用,则用H5Audio播放,H5Audio在部分机器上有兼容问题(比如不能混音,播放有延...

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

6. laya.components.AnimatorState2D_API3.0 [ 72%]

...clipEnd: number = 1 Defined in laya/components/AnimatorState2D.ts:55 动作播放结束时间。 clipStart clipStart: number = 0 Defined in laya/components/AnimatorState2D.ts:50 动作播放起始时间。 cycleOffset cycleOffset: number = 0 Defined in laya/components/AnimatorState2D.ts:35 play on a...

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

7. laya.effect.EffectBase_API3.0 [ 63%]

...ya/effect/EffectBase.ts:17 缓动类型,如果为空,则默认为匀速播放 eventName eventName: string Defined in laya/effect/EffectBase.ts:19 触发事件,如果为空,则创建时触发 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所...

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

8. laya.effect.FadeOut_API3.0 [ 62%]

...ya/effect/EffectBase.ts:17 缓动类型,如果为空,则默认为匀速播放 eventName eventName: string Inherited from EffectBase.eventName Defined in laya/effect/EffectBase.ts:19 触发事件,如果为空,则创建时触发 owner owner: Node Inherited from Component.owner Defined in laya/...

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

9. laya.effect.FadeIn_API3.0 [ 62%]

...ya/effect/EffectBase.ts:17 缓动类型,如果为空,则默认为匀速播放 eventName eventName: string Inherited from EffectBase.eventName Defined in laya/effect/EffectBase.ts:19 触发事件,如果为空,则创建时触发 owner owner: Node Inherited from Component.owner Defined in laya/...

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

10. laya.utils.Tween_API3.0 [ 60%]

...aya/utils/Tween.ts:38 重播次数,如果repeat=0,则表示无限循环播放 update update: Handler Defined in laya/utils/Tween.ts:36 更新回调,缓动数值发生变化时,回调变化的值 Accessors progress set progress(v: number): void Defined in laya/utils/Tween.ts:193 设置当前...

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