大约有 27 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0046 秒)
..."true") state.clip.islooping = true; this.ani.addState(state); // this.ani.play(arrString[2]); } } /**播放动画 */ public playAni(aniName: PERSON_ANI, islooping: boolean = true): void { console.log("播放:" + aniName); this.ani.getControllerLayer().getAnimatorState(aniName).clip.islooping = is...
来源: Laya_社区 发布时间: 20190802
...or scriptPath Accessors awaked controller destroyed enabled hideFlags id isPlaying parameters speed Methods _initialize _setOwner addControllerLayer crossFade destroy getDefaultState getParamsvalue gotoAndStop gotoAndStopByFrame hasHideFlag onAdded onAwake onDisable onLateUpdate onPostRender onPreRe...
来源: Laya3.0_api 发布时间: 20231115
...ollerLayer addState crossFade destroy getControllerLayer getCurrentAnimatorPlayState getDefaultState hasHideFlag linkSprite3DToAvatarNode onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate play removeState unLinkSprite3DToAvatarNode Constructo...
来源: Laya3.0_api 发布时间: 20231102
...ollerLayer addState crossFade destroy getControllerLayer getCurrentAnimatorPlayState getDefaultState getParamsvalue hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart play removeState setParamsBool setParamsNumber setParamsTrigger Construct...
来源: Laya3.0_api 发布时间: 20231115
...nimatorControllerLayer 获取控制器层。 Animator getCurrentAnimatorPlayState(layerInex:int = 0):AnimatorPlayState 获取当前的播放状态。 Animator getDefaultState(layerIndex:int = 0):AnimatorState 获取默认动画状态。 Animator linkSprite3DToAvatarNode(nodeName:String, spr...
来源: Laya2.0_api 发布时间: 20190513
...tchAni(): void { if (this._isRun) { //播放对应的动画 this._animator.play("idle"); } else { this._animator.play("run"); } this._isRun = !this._isRun; } } 二、刚体动画 1,glTF或fbx文件导入 将glTF放入Assets目录下,打开LayaAir IDE,IDE会识别glTF文件并可以展开glTF...
来源: Laya3.0_文档 发布时间: 20251010
...te : int 获取缓存播放帧,缓存模式下生效。 Animator cachePlayRate : Number 获取缓存播放速率,缓存模式下生效。 Animator clip : AnimationClip 获取默认动画片段。 Animator curAnimationDatas : Vector.<Float32Array>[read-only] 获取骨骼数据。 A...
来源: laya_api 发布时间: 20170929
... this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler(): void { this.play(); } //播放骨骼动画 private play(): void { //每次到下一个动画 this.mCurrIndex++; if (this.mCurrIndex >= this.mArmature.getAnimNum()) { this.mCurrIndex =...
来源: Laya3.0_文档 发布时间: 20251010
...fset: number = 0 Defined in laya/d3/component/Animator/AnimatorState.ts:81 play on awake start offset name name: string Defined in laya/d3/component/Animator/AnimatorState.ts:70 名称。 speed speed: number = 1 Defined in laya/d3/component/Animator/AnimatorState.ts:73 动画播放速度,1.0为正...
来源: Laya3.0_api 发布时间: 20231115
...ames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动...
来源: laya_api 发布时间: 20170929