大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0019 秒)
...AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D) { ... this.model = animator.owner as Laya.Sprite3D;//得到Cube节点 } ... /** * 动画状...
来源: Laya3.0_文档 发布时间: 20241014
... 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_文档 发布时间: 20230303
... animator.getControllerLayer(0).addState(state); //播放动画 animator.play("run"); //创建BlinnPhong材质 var mat: BlinnPhongMaterial = (<BlinnPhongMaterial>((<SkinnedMeshSprite3D>this.layaMonkey.getChildAt(0).getChildAt(0))).skinnedMeshRenderer.sharedMaterial); //设置反照率强...
来源: Laya3.0_文档 发布时间: 20230303