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

大约有 1,651 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0069 秒)

221. 如何获得特效的宽高 [ 73%]

...7-06-28 0 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 你用Laya.timer.once加个延迟看下呢? 2017-06-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 z298959 相关问题 缓动Tween能用在3D物体或者特效上面...

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

222. 性能测试-虫子(慎入) [ 72%]

... maggotTexture = Laya.loader.getRes(texturePath); this.initMaggots(); Laya.timer.frameLoop(1, this, this.animate); } initMaggots() { let maggotContainer; for (let i = 0; i wb.x + wb.width) x -= wb.width; if (y wb.y + wb.height) y -= wb.height; maggot.pos(x, y); } tick += 0.1; } } new PerformanceTest...

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

223. UI-ProgressBar [ 72%]

..."; this.progressBar.changeHandler = new Handler(this, this.onChange); Laya.timer.loop(100, this, this.changeValue); } changeValue() { if (this.progressBar.value >= 1) { this.progressBar.value = 0; } this.progressBar.value += 0.05; } onChange(value) { console.log("进度:" + Math.floor(value * 100)...

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

224. laya.d3.core.MeshSprite3D_API3.0 [ 72%]

...e hideFlags id is3D layer meshFilter meshRenderer numChildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChi...

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

225. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 72%]

...ags id is3D layer numChildren parent particleRenderer particleSystem scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChi...

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

226. Laya.Point替代了laya.maths.Point [ 72%]

...tes方法,在laya有替代的方法吗 在加载3d人物的时候,Laya.timer.loop会卡顿,由于又需要每隔一段时间执行一个方法,暂时想到了用Laya.timer.loop,这个有什么好的解决方案替代吗? 动效播放直接到最后一帧,有替代方案么 flash中的R...

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

227. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 72%]

...lags id is3D layer meshFilter numChildren parent scene skinnedMeshRenderer timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChi...

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

228. laya.d3.core.trail.TrailSprite3D_API3.0 [ 72%]

...estroyed displayedInStage hideFlags id is3D layer numChildren parent scene timer trailFilter trailRenderer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren ...

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

229. 2D物理-复合碰撞器 [ 72%]

...oint.enableMotor = true; box.addComponentIntance(revoluteJoint); Laya.Laya.timer.frameLoop(1, this, this.addMiniBox); } addMiniBox() { let box = this.box; if (this.count >= this.totalBox) { return; } let sp = new Laya.Sprite(); Laya.Laya.stage.addChild(sp); sp.x = box.x; sp.y = box.y; sp.addComponen...

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

230. Sprite-节点控制 [ 72%]

...一只猩猩的子级 Laya.stage.addChild(ape1); ape1.addChild(ape2); Laya.timer.frameLoop(1, this, animate); } function animate(e) { ape1.rotation += 2; ape2.rotation -= 4; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya....

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