大约有 136 项符合查询结果, 库内数据总量为 24,848 项。 (搜索耗时: 0.0067 秒)
...29 15:07 @Laya_Aaron:我看了你以前的写的那个做个面片,贴上texture2d的贴图,但是回报一个空textrue.source是Undefined Laya_Aaron • 2019-04-29 17:26 @咕噜咕噜:不用搞那么复杂,u3d 里面直接弄个显示的面片 导出使用 咕噜咕噜 • 2019-04-29 21:26 @...
来源: Laya_社区 发布时间: 20190428
...时候再场景runtime继承类中,构造函数里面加载图片 Laya.Texture2D.load("billiards/grass.png",会报错。 附件 : --> 2020-06-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 157*****593 赞...
来源: Laya_社区 发布时间: 20200624
...。 MeshTerrainSprite3D createFromMeshAndHeightMap(mesh:Mesh, texture:Texture2D, minHeight:Number, maxHeight:Number, name:String = null):MeshTerrainSprite3D[static] 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 MeshTerrainSprite3D destroy(destroyChild:Boolean = ...
来源: laya_api 发布时间: 20170929
...lbedo = new Laya.Vector4(0.8, 0.8, 0.8, 0); material.diffuseTexture = Laya.Texture2D.load("images/bg03.png"); box.meshRender.material = material; //平面 var plane = sprite3D.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(15, 15, 1, 1))); plane.transform.position = new Laya.Vector3(0, 0, 0); var...
来源: Laya_社区 发布时间: 20180103
...如图三),代码如下: public drawScreenshot(): void { if (!this.tempTexture2D) { this.tempTexture2D = new Laya.Texture2D(1280,720); } if (!this.tempTexture) { this.tempTexture = new Laya.Texture(this.tempTexture2D); } // Laya.timer.once(110, this, function(){ let cans = Laya.Browser.document....
来源: Laya_社区 发布时间: 20191230
...法加载,PC游览器访问正常。 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 骨骼动画 .SK 文件加载显示后贴图有BUG! 胡子嘴! unity导出模型,材质球贴图丢失 粒子编辑器里面 有没有办法 设置贴图...
来源: Laya_社区 发布时间: 20171014
...示以下错误: MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. 转化工具是最新版本。 Unity版本2018.2.0f2 2018-07-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya...
来源: Laya_社区 发布时间: 20180728
...用程式控制播放吗? 获取sprite对象的 width和height为0 请问Texture2D如何用base64字符串构建对象 问题状态 最新活动: 2017-06-27 18:05 浏览: 1835 关注: 2 人 choe • 2017-06-27 18:21 谢谢,已解决问题
来源: Laya_社区 发布时间: 20170627
...二维纹理贴图 material.albedoTexture = Laya.Texture2D.load(PathConst.material + name + ".png"); material.renderMode = Laya.BlinnPhongMaterial.RENDERMODE_OPAQUE; //为box模型赋材质 ...
来源: Laya_社区 发布时间: 20180519
...a.BlinnPhongMaterial; //添加漫反射贴图 Laya.Texture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { this.mat1.albedoTexture = tex; })); //平面加载 let plane = this.scene.add...
来源: Laya_社区 发布时间: 20201127