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

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

221. 正常运行的2.1升级到2.2.0出现循环依赖的错误,这是咋回事丫 ? [ 68%]

..._modules\.bin\tsc.cmd -b "D:\Users\Administrator\Personal\myLaya2.2\Client\src\tsconfig.json"  at ChildProcess.exithandler (child_process.js:217:12) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:194:7) at maybeClose (internal/child_process.js:899:16) at Process.ChildProcess._handle....

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

222. laya.d3.core.material.GlitterMaterial [ 68%]

...式。 GlitterMaterial renderQueue : int 所属渲染队列.BaseMaterial srcBlend : int源混合参数,在blend为BLEND_ENABLE_ALL时生效。BaseMaterial srcBlendAlpha : intAlpha源混合参数,在blend为BLEND_ENABLE_SEPERATE时生效。BaseMaterial srcBlendRGB : intRGB源混合参数,在blend...

来源: laya_api 发布时间: 20170929

223. 使用官方文档中qrcode生成二维码的代码,打包APP后无效 [ 68%]

...te clickHandler(): void { var url: string = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url, 0, 0, 100, 100); } 2018-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

224. LayaAir中怎么使用node.js 的 socket.io [ 67%]

...47 1.客户端bin目录下添加socket.io.js 2.inddex.html引入<script src="socket.io.js"></script> (https://github.com/socketio/so ... r/dist) 3.在src目录下添加ts接口文件 socket.io-client.d.ts (https://github.com/DefinitelyT ... client) 4.在需要使用的类中调...

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

225. Animation 使用疑问 [ 67%]

...,请问内存这一块什么看靠谱点!谢谢       附件 : --> src.zip src.zip 2017-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: asdf131 问题收到,这个我们测...

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

226. list 加载动画为什么实现的效果会错乱掉? [ 67%]

...() { Item1.__super.call(this); this.size(WID, HEI); this.setImg = function(src) { var ani = new Animation(); ani.loadAtlas(src); // 加载图集动画 ani.interval = 100; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 // 获取动画...

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

227. Cannot read property 'call' of undefined [ 67%]

...  at new GameScene (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/GameScene.js:4:19)    at HomePageUI.onGameStart (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27)    at EventHandler.__proto.runWith (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/b...

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

228. 使用二进制图片 · LayaAir3.0文档 · LAYABOX [ 67%]

...Element("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }; img.src = window.URL.createObjectURL(blob); document.body.appendChild(img); } } xhr.send(); 上面这个方法是用了浏览器自身提供的方法来把二进制转换成图片,二进制转换...

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

229. laya.d3.core.material.ParticleMaterial [ 67%]

... BaseMaterial  SHADERDEFINE_PARTICLE3D : int[static] ParticleMaterial srcBlend : int源混合参数,在blend为BLEND_ENABLE_ALL时生效。BaseMaterial srcBlendAlpha : intAlpha源混合参数,在blend为BLEND_ENABLE_SEPERATE时生效。BaseMaterial srcBlendRGB : intRGB源混合参数,在blend...

来源: laya_api 发布时间: 20170603

230. [LayaAir3]VideoTexture,VideoNode视频和Image图片内存释放问题 [ 67%]

...生的video标签,而原生的video标签一旦创建了,如果不将src设置为null,会一直占用内存,据我看源码并没有这一步操作,所以视频占用的内存完全无法释放   Image的内存问题出现在我重复对一个Image组件更换skin,由于我不可能每...

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