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

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

321. the maxParticleCount multiply mesh vertexCount is large than 65535. [ 60%]

...05 在unity里面,粒子系统的Max Particles参数不要保留默认的1000,填一个比较小的值就行了。 然后在重新导出预设。 2019-10-29 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 151...

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

322. 目标纹理的使用(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 60%]

...纹理的相机 var renderTargetCamera = scene.addChild(new Camera(0, 0.3, 1000)); renderTargetCamera.transform.position = new Vector3(-28.8, 8, -60); renderTargetCamera.transform.rotate(new Vector3(0, 180, 0), true, false); //选择渲染目标为纹理 renderTargetCamera.renderTarget = new RenderT...

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

323. 无法清除指定定时器 [ 60%]

无法清除指定定时器 发起一个定时器: Laya.timer.loop(1000,this,this.fan); 当执行 Laya.timer.clear(this,this.fan);时, 控制台还是在执行 fan 函数里的代码 2018-05-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

324. 资源加载 · LayaAir3.3 · 引擎文档 · LAYABOX [ 60%]

...wner.addChild(sp); let i: number = 0; //每秒重画一次 Laya.timer.loop(1000, this, () => { i == res.length && (i = 0); //清除sp节点的所有绘图(不含子节点) sp.graphics.clear(); //在sp节点上重绘纹理 sp.graphics.drawTexture(res[i]); i++; }); }); } } 2.2 可带类...

来源: Laya3.0_文档 发布时间: 20251010

325. 目标纹理的使用(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 60%]

...相机 var renderTargetCamera: Camera = scene.addChild(new Camera(0, 0.3, 1000)); renderTargetCamera.transform.position = new Vector3(-28.8, 8, -60); renderTargetCamera.transform.rotate(new Vector3(0, 180, 0), true, false); //选择渲染目标为纹理 renderTargetCamera.renderTarget = new RenderTe...

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

326. 关于这个timer我的跑的快在 自己出完牌之后没有人比我的牌大了。可是我的牌还是出不去 [ 60%]

...nNumber = 0; }//因为只有4个人 0 1 2 3 循环   }   Laya.timer.once(1000, this, this.computer,[this.turnNumber]); //要不起的处理方式 }   } console.log(this.nextTurn);  if ( this.turnNumber == 1) {  NTS = 8; NTE = 5; this.platerfirst(NTS,NTE); } if ( this.turnNumber == 2) { NTS = 12...

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

327. viewportPointToRay会影响CameraMoveScript的逻辑? [ 60%]

... 放着不动,而且是在没逻辑的主界面,stat里的sprite数量1000个/s的速度上涨 动态改变List的高度之后,再刷新列表, 影响了Space~~如何避免? 给图片添加一个滤镜透明区域也会受到影响,这个是怎么回事 问题状态 最新活动: 2018-06-1...

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

328. Socket连接不上(已解决) [ 60%]

..."Start conect";                          Laya.timer.loop(1000, this, checkSocket);         }                  private function checkSocket(e:* = null):void{             txt.text = socket.connected ? "Now connect" : "Not conect";         }      ...

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

329. 写消消乐游戏, 如何在tiledMap格子中添加精灵? [ 60%]

... sp.graphics.drawRect(0, 0, 100, 100, "#FF0000", "#0000FF", 1) sp.zOrder = 1000;     请问这里如何把精灵添加到地图中?看文档没看明白啊, 其他回答仿写都无效果. 2018-07-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

330. Texture内存回收(ActionScript-2D进阶篇(AS3)-性能优化) [ 60%]

...:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800); //显示一个图片 sp = Sprite.fromImage("res/bg.jpg"); Laya.stage.addChild(sp); //显示一个动画 var ani:Animation = new Animation(); ani.loadAtlas("res/fighter.atlas"); ani.play(); ani.pos(400, 200); sp.ad...

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