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

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

201. laya.d3.core.BaseCamera [ 56%]

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

202. laya.d3.core.Camera_API3.0 [ 56%]

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

203. IOS 二次开发 callbackToJSWithClass, JS没有收到OC的回调 [ 56%]

...r.create 进度回调函数执行两次 怎么停止正在运行Laya.timer.frameLoop的回调函数 ios接入穿山甲sdk问题 socket收到服务器的数据如何解析成proto对象? 问题状态 最新活动: 2018-12-06 17:48 浏览: 1566 关注: 1 人 黝黑蜗科 • 2018-12-24 14:23 第一...

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

204. laya.d3.core.VRCamera [ 56%]

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

205. laya.media.SoundNode [ 56%]

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

206. 如何用Tween 给graphics.drawLine 设置缓动 [ 56%]

...ndX=0; endY=0; sp.graphics.drawLine(10,10,endX,endY,'#FF0000'); Laya.timer.frameLoop(1,this,onFrameLoop); } private function onFrameLoop():void { endX+=2; endY+=2; sp.graphics.drawLine(10,10,endX,endY,'#FF0000'); } } } 2017-04-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...

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

207. position -position应该怎么写?? [ 56%]

...?? 我这样写报错, viewDir显示是 NaN var viewDir; Laya.timer.frameLoop(1, this, viewDirLoop); function viewDirLoop() { cameraPos = camera.position; viewDir = camera.position - lineMesh.transform.position; console.log(viewDir); lineMesh.transform.lookAt(new Laya.Vector3(3, 3, 3), viewDir...

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

208. laya.display.Sprite.graphics对象的旋转问题 [ 56%]

...); sp.graphics.drawLine(0,0,200,200,'#FF00000'); sp.pivot(0,0); Laya.timer.frameLoop(1,this,onTimer,[sp]); } private function onTimer(sp:Sprite):void { sp.rotation+=1; } 2017-04-24 0 0 分享 微博 QZONE 微信 wqt542434707 赞同来自: 谢谢~ 2017-04-24 0 0 分享 微博 QZONE 微信 为什么...

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

209. 射线一直无法获取物体 [ 56%]

...mponent(Laya.SphereCollider);     });   设置射线:    Laya.timer.frameLoop(1, null, checkHit);     var hit = new Laya.RaycastHit();     var point = new Laya.Vector2();     var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0));     function checkHit() {     ...

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

210. 2D图片在3D场景中定位问题 [ 56%]

...ya.stage.addChild(new Laya.Image("res/layabox.png")); Laya.timer.frameLoop(1, this, functionname); function functionname() { camera.viewport.project(warehouse1.transform.position, camera.projectionViewMatrix, _outPos); 2dname.pos(_outPos.x / Laya.stage.clientScaleX, _outPos.y / Laya.stage....

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