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

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

611. IDE创建3D示例项目(TypeScript-3D基础(TS)-快速开始一个LayaAir3D项目) [ 68%]

...ar material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex:Laya.Texture2D) { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####

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

612. 动态阴影被切割了?为啥没有显示完成的阴影 [ 68%]

... var LayaAir3D = (function () { var currentCube; var moveTimer; var currentTexture = 0; var prevBox; var boxList = []; var initBoxW = 1; var initBoxH = 1; var initBoxL = 0.5 function myCube(x, y, z, textureUrl, posX, posY, posZ) { posX = posX || 0; posY = posY || 0; posZ = posZ || 0; var instance = ...

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

613. 粒子会不会有内存泄漏? [ 68%]

...? (function () { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var Loader = Laya.Loader; var Stat = Laya.Stat; var Particle2D = Laya.Particle2D; (function () { // Laya.init(Browser.clien...

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

614. laya.display.FrameAnimation [ 68%]

...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

615. LayaAPP打包后laya.webgl.j错误,浏览器测试没问题 [ 68%]

...,请把此信息截图给研发商 TypeError: Cannot read property '_glTexture' of undefined http://stand.alone.version/lib ... 5906: TypeError: Cannot read property '_glTexture' of undefined _i32b[2]=isloaded?value.bitmap._glTexture.id:0; ^^ TypeError: Cannot read property '_glTexture' of undefin...

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

616. laya.d3.graphics.VertexPositionNormalTexture0Texture1 [ 68%]

...ackages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1InheritanceVertexPositionNormalTexture0Texture1 ObjectImplements IVertex VertexPositionNormalTexture 类用...

来源: laya_api 发布时间: 20170929

617. laya.ui.VBox [ 68%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

618. laya.ui.TipManager [ 68%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

619. drawToCanvas 加载以后 如何释放内存 [ 68%]

...信 Playerdata1 赞同来自: 我这边测试效果 是 如果使用了  texture.destroy()  每次使用截屏功能 会泄漏4M  如果不使用texture.destroy() 则泄漏8M 2017-09-15 0 0 分享 微博 QZONE 微信 Playerdata1 赞同来自: 测试发现 只要截图 就会消耗4M 并且清理...

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

620. laya.ui.HBox [ 68%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929