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

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

21. Animation创建时无法获取高度 [ 89%]

... 1、加个timer延迟,然后获取宽高看下 2、添加一个ani.on(Event.LOADED)事件,在hui回调里获取宽高看下! 2017-08-24 0 1 分享 微博 QZONE 微信 y1036687157 赞同来自: 好吧,暂时没有其他的解决办法,用延迟函数去处理了.. 2017-08-24 0 0 分享 ...

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

22. 骨骼动画播放完后的回调时间 [ 89%]

... 骨骼动画循环播放中,每个动作播放结束后 是触发哪个EVENT类型 进行回调? 2016-10-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 leeq3000 赞同来自: howartin 、fighter12345 监...

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

23. 动画-新版骨骼动画 [ 88%]

...("../../res/threeDimen/skinModel/Zombie/new/Zombie.lh")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, function () { //获取Animator动画组件 zombieAnimator = zombie.getChildAt(0).getComponentByType(Laya.Animator); loadUI(); }); function loadUI() { var clipName = ["walk","attack","left_fall","...

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

24. laya.d3.component.animation.CameraAnimations [ 88%]

...es | Index | Frames No Frames CameraAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class CameraAnimationsInheritanceCameraAnimations KeyframeAnimations Component3D EventDispatcher Object CameraAnimations 类用于创建摄像机动画组件。 Public Pro...

来源: laya_api 发布时间: 20170603

25. Sprite-容器 [ 88%]

...dule laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Container { // 该容器用于装载4张猩猩图片 private apesCtn: Sprite; constructor() { // 不支持WebGL时自动切换...

来源: Laya2.0_示例 发布时间: 20241001

26. laya.d3.component.animation.UVAnimations [ 87%]

...lasses | Index | Frames No Frames UVAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class UVAnimationsInheritanceUVAnimations KeyframeAnimations Component3D EventDispatcher Object UVAnimations 类用于创建UV动画组件。 Public Properties Hide Inheri...

来源: laya_api 发布时间: 20170603

27. Animation创建和销毁的问题 [ 87%]

.../初始化引擎 Laya.init(1136, 640,WebGL); trace("ok..."); Laya.stage.on(Event.KEY_DOWN, this, this.onKeydown); } private function onKeydown(event:Event):void { var self:* = this; if(event.keyCode === Keyboard.SPACE) { //移除动画 if(testAnim1) { testAnim1.clear(); testAnim1.removeSelf(); testA...

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

28. 关于as版的Animation.createFrames()不能工作? [ 87%]

...play.Stage; import laya.utils.Handler; import laya.net.Loader; import laya.events.Event; public class LayaUISample { protected var text:Text; protected var aaa:AAA; public function LayaUISample() { Laya.init(1540, 990); Laya.Stat.show(); Laya.loader.load("res/atlas/war.json", Laya.Handler.create(thi...

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

29. 灯光-方向光 [ 87%]

...res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, 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_示例 发布时间: 20241001

30. Sprite-节点控制 [ 87%]

...dule laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_NodeControl { private ape1: Sprite; private ape2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(B...

来源: Laya2.0_示例 发布时间: 20241001