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

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

641. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 39%]

...andardMaterial,为什么transformUV始终是null var material = mesh.meshRender.material; console.log(material.transformUV); 2017-11-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 ymsdandan 赞同来自: 有...

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

642. 材质-BlinnPhong材质加载 [ 39%]

...ets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); //加载材质 layaMonkey.meshRender.material = Laya.StandardMaterial.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/Materials/T_Diffuse.lmat"); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rot...

来源: Laya_示例 发布时间: 20251209

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

...ileroot.getChildAt(1).getChildAt(0).clone(); undefined bom2 MeshSprite3D {_render: MeshRender, _geometryFilter: MeshFilter, _projectionViewWorldMatrix: Matrix4x4, _projectionViewWorldUpdateLoopCount: -1, _projectionViewWorldUpdateCamera: null…} bom2.transform.worldMatrix Matrix4x4elements: Float32...

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

644. LayaAirID 打包app测试 apk无法开启webgl。用浏览器扫码进入就没问题 [ 38%]

...urrTexture=this.templet.getTexture(tName); if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } } }else { this.displayIndex=-1; this.currDisplayData=null; ...

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

645. 请教LayaAir 2.2.0 改了哪些有关mask的代码 [ 38%]

...laya.feifan.bandarq2.0/bin/libs/laya.core.js:10451:24)   at Stage.__proto.render (file:///F:/Laya2Workspace/laya.feifan.bandarq2.0/bin/libs/laya.core.js:31079:13)   at Stage.__proto._loop (file:///F:/Laya2Workspace/laya.feifan.bandarq2.0/bin/libs/laya.core.js:31018:8)   at loop (file:///F:/Laya2W...

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

646. laya.d3.core.Camera [ 37%]

...hy : Boolean[read-only] 获取在场景中是否激活。 Node  alwaysUseRenderTexture : Boolean 获取是否始终使用渲染纹理,在某些渲染配置下会直接将渲染结果渲染到屏幕上,getRenderTexture()方法的返回值为空,如需使用getRenderTexture()可开启此属性。 Ca...

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

647. 照相机-正交相机 [ 37%]

...nLight; import laya.d3.core.material.StandardMaterial; import laya.d3.core.render.RenderState; import laya.d3.core.scene.Scene; import laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import lay...

来源: Laya_示例 发布时间: 20251209

648. 用laya自带的ui编辑器 编辑了一个ui界面,怎么加载啊? 怎么写代码让这个ui界面, 在程序运行时,显示出来啊? [ 37%]

...p/clip_num.png","clipX":10,"name":"clip"},"type":"Clip"}],"props":{"name":"render","x":0,"y":0,"width":112,"height":30}}],"props":{"x":452,"y":68,"width":128,"height":299,"vScrollBarSkin":"comp/vscroll.png","repeatX":1,"var":"list"}},{"props":{"x":563,"y":4,"skin":"comp/btn_close.png","name":"close"...

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

649. 1.7.19.1 beta 背景音乐在舞台失焦和静音状态下可能导致的无法播放的异常问题! [ 36%]

...Manager._tMusic){ // if (SoundManager._musicMuted)return null; }else { if (Render.isConchApp){ var ext=Utils.getFileExtension(url); if (ext !="wav" && ext !="ogg"){ alert("The sound only supports wav or ogg format,for optimal performance reason,please refer to the official website document."...

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

650. laya.d3.core.scene.Scene3D [ 36%]

...map"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲...

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