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

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

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

...rameters url: string 声音文件地址。 Default value loops: number = 0 循环次数,0表示无限循环。 Default value complete: Handler = null 声音播放完成回调,complete 结果参数 true: 播放完成, false/undefined :stop触发的complete。 Default value startTime: number = 0 声...

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

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

...p loop: number = -1 Defined in laya/components/AnimatorState2D.ts:60 动画循环次数,-1或者小于-1为使用clip的循环状态,1为播放一次,2为播放2次,0为无限循环 name name: string Defined in laya/components/AnimatorState2D.ts:40 名称 speed speed: number = 1 Defined in l...

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

3. laya.media.SoundChannel_API3.0 [ 85%]

...,以及获取声音的播放状态、总时间、当前播放时间、总循环次数、播放地址等信息的方法。 Hierarchy EventDispatcher SoundChannel Index Properties completeHandler isStopped loops startTime url Accessors duration position volume Methods event hasListener off offAll of...

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

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

... 1 | 2 = 0 Defined in laya/d3/component/Animator/AnimatorState.ts:49 是否循环播放,为0时则使用_clip.islooping,1为循环,2为不循环 clipEnd clipEnd: number = 1 Defined in laya/d3/component/Animator/AnimatorState.ts:79 动作播放结束时间。 clipStart clipStart: number = 0 Defin...

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

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

...artTime: number = 0 开始时间,单位秒 Default value loops: number = 0 循环次数,0表示一直循环 Returns SoundChannel 声道 SoundChannel 对象。 Globals "laya/media/Sound" Sound duration dispose event hasListener load off offAll offAllCaller on once play Legend Object literal Variable ...

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

6. laya.ani.AnimationPlayer_API3.0 [ 82%]

...value playEnd: number = 0 播放的结束时间位置。(0为动画一次循环的最长结束时间位置)。 Returns void playByFrame playByFrame(index?: number, playbackRate?: number, overallDuration?: number, playStartFrame?: number, playEndFrame?: number, fpsIn3DBuilder?: number): void Defi...

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

7. laya.d3.component.AnimatorPlayState_API3.0 [ 81%]

.../component/AnimatorPlayState.ts:31 播放状态的归一化时间,整数为循环次数,小数为单次播放时间。 Returns number Globals "laya/d3/component/AnimatorPlayState" AnimatorPlayState constructor animatorState duration normalizedTime Legend Object literal Variable Function Type alias...

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

8. laya.d3.animation.AnimatorStateScript_API3.0 [ 80%]

...void Defined in laya/d3/animation/AnimatorStateScript.ts:58 动画设置了循环的话,每次循环结束时执行 Returns void onStateUpdate onStateUpdate(normalizeTime: number): void Defined in laya/d3/animation/AnimatorStateScript.ts:45 动画状态运行中 Parameters normalizeTime: number 0-...

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

9. laya.d3.component.animator.AnimatorPlayState_API3.0 [ 78%]

...t/Animator/AnimatorPlayState.ts:44 播放状态的归一化时间,整数为循环次数,小数为单次播放时间。 Returns number Globals "laya/d3/component/Animator/AnimatorPlayState" AnimatorPlayState constructor animatorState currentState duration normalizedTime Legend Object literal Variab...

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

10. laya.d3.component.Animator_API3.0 [ 75%]

...每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onP...

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