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

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

701. laya.d3.core.material.ParticleMaterial [ 42%]

...public class ParticleMaterialInheritanceParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...

来源: laya_api 发布时间: 20170603

702. 垂直滑动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

...): void { this.vslider.pos(300,300);//滑动条位置 this.vslider.skin = "resources/vslider.png";//滑动条底图皮肤 this.vslider.value = 0.5; this.vslider.max = 50; this.vslider.min = 0; this.vslider.tick = 1; this.vslider.showProgress = true;//必须存在vslider$progress.png资源,否则...

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

703. 水平滑动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

...: void { this.hslider.pos(300, 300);//滑动条位置 this.hslider.skin = "resources/hslider.png";//滑动条底图皮肤 this.hslider.value = 0.5; this.hslider.max = 50; this.hslider.min = 0; this.hslider.tick = 1; this.hslider.showProgress = true;//必须存在hslider$progress.png资源,否则...

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

704. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 42%]

...ttp://127.0.0.1:55942/game/code.js:89560:6) at TextureCube.__proto.recreateResource (http://127.0.0.1:55942/game/code.js:89603:8) at TextureCube.__proto.activeResource (http://127.0.0.1:55942/game/code.js:13972:9) at TextureCube.<anonymous> (http://127.0.0.1:55942/game/code.js:75718:8) at Shad...

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

705. Laya.Loader.getRes("xxx.png")取出来的资源为什么是Texture2D,不是Texture [ 42%]

...器的硬件加速关闭    后就会有问题   在控制台用 Laya.Resource._urlResourcesMap  查出来的都是Texture2D  单独用Laya.Loader.getRes(xx)取出来的也是 Texture2D     2020-04-21 0 0 分享 微博 QZONE 微信 Nevermore 赞同来自: 顶顶顶··· 2020-04-24 0 0 分...

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

706. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 42%]

...rikenParticleMaterialInheritanceShurikenParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...

来源: laya_api 发布时间: 20170929

707. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 41%]

... this.m_cur_scence.destroy();//销毁场景 this.m_cur_scence = null; Laya.Resource.destroyUnusedResources();//销毁无用资源(没有被场景树引用,并且没有加资源锁的) if(Laya.Browser.onMiniGame) Laya.Browser.window.wx.triggerGC(); 2019-12-10 0 0 分享 微博 QZONE 微信 小程序K...

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

708. [LayaAirIDE3]Laya3.2.1命令行打包,编译错误也生成成功 [ 41%]

...or: Game is not defined at /C:/Users/God/AppData/Local/Programs/LayaAirIDE/resources/app.asar/game.js:2 importing ~/internal/Box.lm importing ~/internal/Capsule.lm importing ~/internal/Cone.lm importing ~/internal/Cylinder.lm importing ~/internal/Plane.lm native tools encoding set to cp936 importing...

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

709. 关于大量图片加载绘制后的内存暴增的疑问 [ 41%]

... package { import laya.display.Sprite; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Demo { private var num:Number=0;//加载图片的个数 private var sp:Sprite;//显示图片的显示对象容器 priv...

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

710. 自定义场景继承导出,会在自定义类中加入Laya.前缀导致layaMaxUI文件报错 [ 41%]

...改为自己使用的版本! /Applications/LayaAirIDE_beta.app/Contents/Resources/app/out/vs/layaEditor/h5/layabuilder.max.js 用windows的同学请自行找目录哈。 2.找到下面代码,具体行号不同版本可能不一样,仅供参考     24522                         if...

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