大约有 308 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0036 秒)
...材质 var material = new Laya.EffectMaterial(); //加载地球贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ``` (图1)
来源: Laya2.0_文档 发布时间: 20210714
...ources有报错 直接加载的lh模型文件 vertexbuffer3d indexbuffer3d texture2d Avatar 这些个引用计数都有问题貌似,调用Resource.destroyUnusedResources后,会销毁好多实际还在使用中的Resource,目前考虑手动记录引用,手动销毁了 2018-08-04 添加评论 ...
来源: Laya_社区 发布时间: 20180804
...材质 var material = new Laya.EffectMaterial(); //加载地球贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ``` (图12)
来源: Laya2.0_文档 发布时间: 20210714
...个view形式页面,互相加载用什么事件? Texture如何转换成Texture2D有人搞过吗 透视相机,2d坐标可以转换成3d坐标吗 spine文件转换成sk文件有什么格式要求? 怎样将html的hls转换成一张3D模型贴图播放 官方的2d案例换成内嵌模式会报...
来源: Laya_社区 发布时间: 20170412
...(type !== "nativeimage") { image = new Texture2D(); var alpha = Laya.Browser.onFirefox; image.loadImageSource(imageData,alpha); } _t...
来源: Laya_社区 发布时间: 20210629
...ongMaterial = new Laya.BlinnPhongMaterial(); material.albedoTexture = Laya.Texture2D.load("magic/sg.png"); box.meshRender.material = material; 附件 : --> 2018-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20180331
...e if (type==="font"){//这里,启用webgl后,HTMLImage.create返回的是Texture2D,不是HTMLImage,data上没有_source这个属性 //导致重复加载图片,走不到else里面,if的判断是否应该改为 !this._data if (!data._source){ ...
来源: Laya_社区 发布时间: 20190402
... new StandardMaterial(); material.diffuseTexture = Texture2D.load("res/layabox.png"); Plane.meshRender.material = material; 2018-10-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 158****...
来源: Laya_社区 发布时间: 20181018
...,会导致gpu内存不断增加! 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 引擎有没有管理或访问系统剪贴板的方法函数 LayaAir 2D有没有夜晚灯光照明效果实现的内置方法? Animation对象的clear方法...
来源: Laya_社区 发布时间: 20190123
...3.png]) 返回undefined Laya.loader.load("1.png") 加载返回false Laya.Texture2D.load("1.jpg") 加载返回undefined 求帮助 附件 : --> 2020-03-25 添加评论 已悬赏20元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 x...
来源: Laya_社区 发布时间: 20200325