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

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

221. 怎么判断Laya.Tween.to 移动的时候是否经过某个区域,主要做一个碰撞的效果 [ 55%]

...072:这个你可以去看看官网的API中Timer类里的frameonce或者是frameloop方法

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

222. 设置旋转特效后,旋转对象的位置跑偏了 [ 55%]

...dth/2,xuanzhuan.height/2);                       Laya.timer.frameLoop(1,this,onLoopRotation,[this.xuanzhuan]);         }         private function onLoopRotation(sp:Sprite):void         {             sp.rotation++;          } 2017-12-25 添加评论 ...

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

223. 我自己绘制的矩形如何以自身中心点旋转不能实现啊 [ 55%]

...ze(200,300); sp.pivot(sp.width/2,sp.height/2); sp.pos(200,200); Laya.timer.frameLoop(1,this,onLoopRotation,[sp]); } private function onLoopRotation(sp:Sprite):void { sp.rotation++; } } } 2017-09-05 0 0 分享 微博 QZONE 微信 pal 赞同来自: 这个方法不行啊 还是因为升级laya2.0 之...

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

224. 在Unity中导出拖尾系统(ActionScript-3D基础(AS3)-LayaAir3D之拖尾系统) [ 54%]

...为了体现效果,我们移动盒子和摄影机观察效果 Laya.timer.frameLoop(1,this,function():void{ //使用差速来体现移动 box.transform.translate(new Vector3(0,0.05,0),false); camera.transform.translate(new Vector3(0,04,0),false); }); })); ``` ![](img/3.gif)(图3)

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

225. 想做天空盒但是camera上没有sky这个属性 [ 54%]

...unction(mat:SkyBoxMaterial):void { camera.skyboxMaterial = mat; Laya.timer.frameLoop(1, this, function():void { mat.rotation += 0.1; }); })); } 2018-10-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 佳卷儿 相关问题 Layaair IDE...

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

226. laya.map.TileAniSprite [ 54%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

227. laya.d3.core.Camera [ 54%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: Laya2.0_api 发布时间: 20190513

228. laya.d3.core.scene.VRScene [ 53%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170422

229. 微信小游戏图片加载不出来 [ 53%]

...hild(this.bg2); //创建一个帧循环,更新容器的位置 Laya.timer.frameLoop(1, this, this.onLoop); 补充:在游戏开始游戏中loader的加载方法也用了,就是没有。 2018-11-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

230. 转换2D屏幕坐标系统到3D正交投影下的坐标系统位置偏差 [ 53%]

...(cube); let pos = new Vector3(); let screenPos = new Vector3(); Laya.timer.frameLoop(1, this, ()=>{ camera.orthographic = true; screenPos.setValue(camera.clientWidth / 2, camera.clientHeight / 2, 0.1); //converScreenToCoordToOrthographicCoord传的screenPos应该是这个3d模型在摄像机rt内...

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