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

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

211. Laya.loader Progress回调形同虚设 [ 56%]

...的回调时间 ios原生回调问题 怎么停止正在运行Laya.timer.frameLoop的回调函数 load 加载完图集 回调函数可以传形参吗? Laya.Handler.create 加载图片回调参数问题 Laya.loader.create 进度回调函数执行两次 本人想做个批量加载json文件,然后...

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

212. laya.d3.webxr.core.WebXRCamera_API3.0 [ 55%]

...ntains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf normalizedViewportPointToRay off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisabl...

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

213. 射线检测-点击行走 [ 55%]

...hreeDimen/texture/layabox.png"); box.meshRender.material = mat; Laya.timer.frameLoop(1, this, checkHit); var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); var point = new Laya.Vector2(); var _position = new Laya.Vector3(0, 0.25, 0); var _quaternion = new Laya.Quaternion()...

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

214. laya.ui.FrameClip [ 55%]

...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

215. 分享:LayaAir实现曲线运动 [ 55%]

...,"#FF00FF"); Laya.stage.addChild(ball); ball.x=275; ball.y=200; Laya.timer.frameLoop(1,this,onFrame); } private function onFrame():void { // TODO Auto Generated method stub if (ball.x>540||ball.x<10) { xflag=! xflag; } if (xflag) { ball.x+=v; ball.y=200+d*Math.sin(v*ball.x*Math.PI/180); } else...

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

216. 在Unity中导出拖尾系统(JavaScript-3D基础(JS)-LayaAir3D之拖尾系统) [ 55%]

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

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

217. 在Unity中导出拖尾系统(TypeScript-3D基础(TS)-LayaAir3D之拖尾系统) [ 55%]

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

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

218. Panel滚动条滑块位于最下方 [ 55%]

...ScrollBar.max=500; panel.vScrollBar.value=panel.vScrollBar.max; Laya.timer.frameLoop(12,this,onLoop); } private function onLoop():void { trace(panel.vScrollBar.value);//最大==500 } 2016-11-03 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

219. box2d停止物理后无法再开启 [ 55%]

...I.start() 里面 添加一下 或者 可以 直接调用 Laya.physicsTimer.frameLoop(1,this,this._update); 重新开启 物理世界的方法   2019-07-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yggdra 相关问题 2.0一不小...

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

220. 摄像机lookAt如何围绕一个模型做Tween动画? [ 55%]

...机lookAt如何围绕一个模型做Tween动画? var y = 1; Laya.timer.frameLoop(30, this, function () { y = y + 1; camera.transform.lookAt(model.transform.position, new Laya.Vector3(0, 1, 0), false); camera.transform.rotate(new Laya.Vector3(0, y, 3), false, false); }); 我想让摄像机围绕一...

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