大约有 125 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
...dardMaterial = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var boxCollider = plane.addComponent(Laya.BoxCollider) as Laya.BoxCollide...
来源: Laya_社区 发布时间: 20180820
...本地路径,比如示例中引用的就是本地路径, ```json Laya.Texture2D.load("res/layabox.png"); ``` 如果项目的目录中,全部大小加起来不超过4M的话,只要能找到本地的资源,怎么写也没问题。 但是, 微信小游戏的本地包有4M的限制,一旦...
来源: Laya2.0_文档 发布时间: 20210715
...var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var meshCollider = plane.addComponent(Laya.MeshCollider); meshCollider.me...
来源: Laya_示例 发布时间: 20260928
...Texture Memory(M_AllTexture)6.2 All Texture Count(C_AllTexture)6.3 Texture2D Memory(M_Texture2D)6.4 Texture2D Count(C_Texture2D)6.5 TextureCube Memory(M_TextureCube)6.6 TextureCube Count(C_TextureCube)6.7 Texture3D Memory(M_Texture3D)6.8 Texture3D Count(C_Texture3D)6....
来源: Laya3.0_文档 发布时间: 20260128
...件导出时报错 MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. LayaExport.DataManager.getSceneNode () LayaExport.DataManager.saveData () LayaExport.DataManager.getData () 2018-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180206
...片的事件,需要点击两次才能更换图片 Texture如何转换成Texture2D有人搞过吗 UI皮肤怎么动态设置图片资源,有时候需要更换整个文件夹的图片,有什么好的方法么 如果更换Sprite图片 Texture的getPixels()在Android下调用提示is not a function ...
来源: Laya_社区 发布时间: 20171024
...vec2 tuv2 = v_textcoord + vec2(0,u_Time * _NoiseSpeedY); vec2 ouvxy = vec2(texture2D(u_NoiseTex,tuv1).r,texture2D(u_NoiseTex,tuv2).r); ouvxy -= _NoiseBrightOffset; ouvxy *= vec2(_NoiseScaleX, _NoiseScaleY); vec4 col = texture2D(u_MainTex,v_textcoord + ouvxy); vec3 normal = v_normal; normal.xy += o...
来源: Laya_社区 发布时间: 20190923
...示成一团模糊的彩色像素? 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 微信小游戏绘制开放域内容,字体模糊是什么原因? 遮罩 模糊 怎样让烘焙好光照贴图的场景导入后不受灯光影响? unity...
来源: Laya_社区 发布时间: 20190327
...吧spine动画层级显示出来 DialogUI 遮罩层背景Alpha动态设定 texture2d的getPixels()中不能正确读取到alpha所对应的坐标 渲染队列排序问题,导致Alpha混合效果出错 求一个自定义shader alpha融合的的例子 打包出APK后达不到全屏的效果 spine动...
来源: Laya_社区 发布时间: 20180917
...引擎有什么区别? layaair与layabox的区别 Texture如何转换成Texture2D有人搞过吗 view和Dialog区别 关于打包图集时的图片默认属性与repeat的区别 Dialog和View用destroy和Laya.stage.removeChild有什么区别? 问题状态 最新活动: 2018-03-01 10:01 浏览: 225...
来源: Laya_社区 发布时间: 20180228