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

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

201. 如何定义动画播放过某帧后的回调函数 [ 57%]

...会这么写代码吧。。。 cuixueying • 2017-02-22 17:30 Laya.timer.frameLoop(1,this,Handlre.create(this,onLoop)) public funciton onLoop():void { if(ani.index==2) { trace("ani已经播放到第二帧了"); } }

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

202. laya 2.4 linearVelocity问题 [ 57%]

...rig.enabled=true; rig.linearVelocity = new Laya.Vector3(-5,0,0) Laya.timer.frameLoop(1,this,()=>{   rig.linearVelocity= new Laya.Vector3(rig.linearVelocity.x,0,rig.linearVelocity.z) console.log("rig.linearVelocity==",rig.linearVelocity); }) 附件 : --> LayaPro.rar 2019-12-02 添加评论 免费...

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

203. laya.d3.core.Camera [ 57%]

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

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

205. 舞台上有个label,我能通过截图保存成图片么 [ 56%]

... sp.addChild(label); sp.size(200,200); Laya.stage.addChild(sp); Laya.timer.frameLoop(60,this,function():void{ var htmlC:HTMLCanvas=sp.drawToCanvas(200,200,0,0); var texture:Texture=new Texture(htmlC); var sp2:Sprite=new Sprite(); sp2.graphics.drawTexture(texture,100,100,100,100); sp2.pos(300,0); Lay...

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

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

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

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

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

210. 如何用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