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

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

1. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 100%]

...ToAvatarNode("point", this.role); //胖子播放骑乘动作 this.animator.play("ride"); //龙播放奔跑动作 this.dragonAnimator1.play("run"); //调整胖子的相对旋转,相对位移,以及缩放。 this.pangzi.transform.localRotation = this._rotation; this.pangzi.transform.localPosition ...

来源: Laya2.0_文档 发布时间: 20210715

2. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 100%]

...ToAvatarNode("point", this.role); //胖子播放骑乘动作 this.animator.play("ride"); //龙播放奔跑动作 this.dragonAnimator1.play("run"); //调整胖子的相对旋转,相对位移,以及缩放。 this.pangzi.transform.localRotation = this._rotation; this.pangzi.transform.localPosition ...

来源: Laya2.0_文档 发布时间: 20210714

3. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 99%]

...nkSprite3DToAvatarNode("point", role); //胖子播放骑乘动作 animator.play("ride"); //龙播放奔跑动作 dragonAnimator1.play("run"); //调整胖子的相对旋转,相对位移,以及缩放。 pangzi.transform.localRotation = _rotation; pangzi.transform.localPosition = _position; pangzi....

来源: Laya2.0_文档 发布时间: 20210714

4. 图集动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 95%]

...png](img/3.png)(图3) #### 2.2 加载动画图集资源 通过`laya.display.Animation`类的`loadAtlas()`方法加载角色的图集动画资源,该方法的基础说明如图4所示。 ![图4](img/4.png)(图4) ##### 示例代码: 创建入口类AtlasAniDemo.js,并编写代码如下:...

来源: Laya2.0_文档 发布时间: 20210715

5. 图集动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 95%]

...png](img/3.png)(图3) #### 2.2 加载动画图集资源 通过`laya.display.Animation`类的`loadAtlas()`方法加载角色的图集动画资源,该方法的基础说明如图4所示。 ![图4](img/4.png)(图4) ##### 示例代码: 创建入口类AtlasAniDemo.ts,并编写代码如下:...

来源: Laya2.0_文档 发布时间: 20210715

6. 图集动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 94%]

...png](img/3.png)(图3) #### 2.2 加载动画图集资源 通过`laya.display.Animation`类的`loadAtlas()`方法加载角色的图集动画资源,该方法的基础说明如图4所示。 ![图4](img/4.png)(图4) ##### 示例代码: 创建入口文档类AtlasAniDemo.as,并编写代码如...

来源: Laya2.0_文档 发布时间: 20210715

7. 动画多层混合(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 94%]

...otions[motionIndex], 0.2, 1); } else { //使用普通模式播放 animator.play(motions[motionIndex], 0); animator.play(motions[motionIndex], 1); } break; case 1: if (motionCross) //在当前动画状态和目标动画状态之间进行融合过渡播放 //第三个参数为layerIndex 层索引,...

来源: Laya2.0_文档 发布时间: 20210715

8. 动画多层混合(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 93%]

...s.motionIndex], 0.2, 1); } else { //使用普通模式播放 this.animator.play(this.motions[this.motionIndex], 0); this.animator.play(this.motions[this.motionIndex], 1); } break; case 1: if (this.motionCross) //在当前动画状态和目标动画状态之间进行融合过渡播放 //第三个参...

来源: Laya2.0_文档 发布时间: 20210715

9. 动画多层混合(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 93%]

...s.motionIndex], 0.2, 1); } else { //使用普通模式播放 this.animator.play(this.motions[this.motionIndex], 0); this.animator.play(this.motions[this.motionIndex], 1); } break; case 1: if (this.motionCross) //在当前动画状态和目标动画状态之间进行融合过渡播放 //第三个参...

来源: Laya2.0_文档 发布时间: 20210715

10. 播放动画(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 86%]

...设置开始与结束帧率方式实现。 查看Animator动画组件中` play() `方法,具体方法参数如下: ![](img/1.png)(图1) 如需播放动画的某一帧到某一帧,可在原有动画的基础上创建增加动画状态(片断)`AnimatorState` ,最新Animator类提供了 `ad...

来源: Laya2.0_文档 发布时间: 20210715