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

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

11. 全局动画不能加载 [ 97%]

...。 发现飞机的动画不能加载。 跟了下代码,发现问题是Animation.framesMap中动画的名字找不到。Laya.Animation.createFrames(["war/hero1.png","war/hero2.png"],"hero_fly"); 这句之后,Animation.framesMap会存一个hero_fly的动画。 但是play的实现 __proto.play=fu...

来源: Laya_社区 发布时间: 20161006

12. laya.components.Animator2D_API3.0 [ 97%]

...tected All Inherited Externals Only exported Menu Globals "laya/components/Animator2D" Animator2D Class Animator2D Animator2D2D动画组件 Hierarchy Component Animator2D Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked controller destroyed en...

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

13. animator.owner._scene报空 [ 96%]

animator.owner._scene报空 在laya.d3.js文件中,animator.update函数中,animator.owner._scene报空,导致(animator.owner._scene).timer报错,请问这是什么原因呢?项目有点大暂时提供不了demo。 2020-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

来源: Laya_社区 发布时间: 20200113

14. 模型与动画的导入使用 · LayaAir3.0文档 · LAYABOX [ 96%]

...nkey添加动画 当Fbx文件拖入到Scene3D场景中时,会自动添加Animator组件,如果没有可以自行添加Animator组件,并且保证AlwaysAnimate模式 (图8) 此时,我们需要创建一个AnimationController文件,也就是3D动画状态机 (图9) 将新创建的Anim...

来源: Laya3.0_文档 发布时间: 20230303

15. 灯光-聚光 [ 96%]

...OADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 115, 150); }); var _quaternion = new Laya.Quaternion(); var _position = new Laya.Vector3(); Laya.timer.frameLoop(1, null, function () { Laya.Q...

来源: Laya_示例 发布时间: 20240930

16. Animation的createFrames为何加载不了有的图集资源 [ 96%]

Animation的createFrames为何加载不了有的图集资源 package { import laya.ani.AnimationState; import laya.display.Animation; import laya.net.Loader; import laya.ui.Image; import laya.utils.Handler; import view.TestView; public class LayaUISample { public function LayaUISample() { //初始...

来源: Laya_社区 发布时间: 20170220

17. 灯光-方向光 [ 96%]

...OADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 40, 70); }); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025...

来源: Laya_示例 发布时间: 20240930

18. 灯光-点光 [ 95%]

...OADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Qu...

来源: Laya_示例 发布时间: 20240930

19. Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? [ 95%]

Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 2018-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 八阿哥 赞同来自: 伐木工人 、yzbgyc 、013 Animator有一...

来源: Laya_社区 发布时间: 20180425

20. Animation 下的Event.COMPLETE 回调 [ 95%]

Animation 下的Event.COMPLETE 回调 加入回调 为啥 我的动画都不播放了 _gameTableScene["donghua"+ transformToDesignIndex(msg.index)]._childs[0].on(Event.COMPLETE,null,OnAnimation()); 是我写的不对吗? 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

来源: Laya_社区 发布时间: 20180323