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

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

241. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 52%]

...3.1.1 基础面板 General 默认的是粒子系统的通用模块,用于设置粒子系统的基础性的设置。此模块为固有模块,不可禁用。该模块定义了粒子初始化时的持续时间、循环方式、发射速度、大小等一些列基本的参数。 (图3.1.1-1) Dur...

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

242. js进度,进度,js场景进度效果 [ 52%]

...ender.isWebGL) { Laya.init(800, 600, Laya.WebGL); Config.isAlpha = true; //设置画布是否透明,只对2D(WebGL)、3D有效。 Laya.stage.bgColor = "none"; //背景透明 } else { Laya.init(800, 600); Laya.stage.bgColor = null; //背景透明 } //画布水平居中对齐 Laya.stage.alignH = Lay...

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

243. 材质的功能介绍(JavaScript-3D基础(JS)-LayaAir3D之Material材质) [ 52%]

...a.Loader.getRes("res/threeDimen/texture/earth.png"); //为PBRStandard材质设置漫反射贴图 this.pbrStandardMaterial.albedoTexture = this.pbrTexture; //修改导出球的材质 this.sphere.meshRenderer.material = this.pbrStandardMaterial; ``` ![](img/5.png)(图5) ### 3.是否能接受阴影 阴...

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

244. laya.ui.List [ 52%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源。...

来源: Laya2.0_api 发布时间: 20190513

245. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 52%]

...出工具无法导出摄相机和Light的cullingMask,每次都要手工设置,容易出现编辑器与代码不同步的情况 2、Laya的Light渲染时,没有cullingMask标记,所有光源会对所有对象生效。 最近在将之前做的一个2D项目,换成3D版本。看到Laya2.0说...

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

246. canvas定位后 点击区域偏移 [ 52%]

...com/question/4533  问过,使用Laya.Render._mainCanvas.source.style来设置canvas的属性,这个方法可以,不会发生偏移,但是无法放到我要的位置啊,具体请看图,这问题搞了2天了,求指导 附件 : --> 2017-05-18 添加评论 免费帖 --> 分享 微博 QZ...

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

247. 求教 label.text之类的文本,能否支持从右到左的显示?或者有没有什么解决方案,现有阿拉伯文、维语的需求 [ 52%]

... public static var RightToLeft:Boolean = false;   /**          * 设置文字排版模式为右到左。          */         public static function setTextRightToLeft():void         {             var style:Object;             style = Browser....

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

248. 设置transform.localRotation之后,就不能再使用transform.rotate了 [ 51%]

设置transform.localRotation之后,就不能再使用transform.rotate了 laya3D, ... var ele=eleroot.getChildAt(0).clone(); ele.transform.position=new Laya.Vector3(0, 0, 0); scene.addChild(ele); ... ele.transform.rotate(new Laya.Vector3(10, 0, 0), true); //这里会有效 ele.transform.localRo...

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

249. TypeError: Cannot read property '_byteLength' of null [ 51%]

... Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' TypeError: Laya.MovieClip is not a constructor Laya.Animat...

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

250. 材质的功能介绍(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 51%]

...es("res/threeDimen/texture/earth.png") as Texture2D; //为PBRStandard材质设置漫反射贴图 pbrStandardMaterial.albedoTexture = pbrTexture; //修改导出球的材质 sphere.meshRenderer.material = pbrStandardMaterial; ``` ![](img/5.png)(图5) ### 3.是否能接受阴影 阴影在前面的 **...

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