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

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

71. 使用高度图的时候 Cannot read property 'width' of undefined [ 57%]

...o/?D3Base_ResourceLoadAndDispose。 用Create加载,获取的时候,用Texture2D.load   2017-06-01 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sfsmmc 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有...

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

72. 导出场景报错 [ 56%]

导出场景报错 MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:427) LayaAir3D.OnGUI () (at Assets/LayaAir3D/L...

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

73. Laya3D 贴图读取时参数mipmap修改无效,请问如何去掉默认的mipmap [ 56%]

...的话,你可以 BaseTexture在这个类里你可以看一下里面有对texture2D贴图的参数设置选择你项目适合的!比如使用这个模式 /**寻址模式_不循环。*/ public static const FILTERMODE_TRILINEAR:int = 2; 或者对anisoLevel大小进行设置 filterMode 进行修改 ...

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

74. 3D模式下使用Tween使模型移动如何写法 [ 56%]

...a.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/denglongyu1.jpg"); fish.meshRender.material = fishmaterial; fish.transform.localScale = new Laya.Vector3(0.001,0.001,0.001); fish.transform.localPosition = new Laya.Vector3(0,1,0); fish.transfo...

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

75. 官方实例 的天空穹demo测试不成功,抛出config.cloneTo错误 [ 55%]

...传 2.3d场景类是Scene3D类,不是Scene 3.导入类的路径错误(Texture2D导入路径不对)   2.0文档地址:https://ldc2.layabox.com/doc/?nav=zh-ts-0-3-0 2.0示例地址:https://layaair2.ldc2.layabox. ... dural 2022-07-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...

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

76. 加载不了模型 [ 55%]

... = new Laya.StandardMaterial();         material.diffuseTexture = Laya.Texture2D.load("res/freegeek logo 0418 yuanjiao Ss.png");         box.meshRender.material = material;       Laya.loader.create("cj\cj-default001.lm",Laya.Handler.create(this,this.onCreateComplete));       function o...

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

77. RenderTarget2D的create方法 [ 55%]

...过转换的FLASH游戏里的方法? 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 问题状态 最新活动: 2018-05-08 20:36 浏览: 1188 关注: 2 人 Yangcy • 2020-05-21 10:19 laya2.0以后的版本怎么使用这个RenderTarget2D 都...

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

78. 3D加载不了 [ 55%]

... = new Laya.StandardMaterial();         material.diffuseTexture = Laya.Texture2D.load("res/freegeek logo 0418 yuanjiao Ss.png");         box.meshRender.material = material;       Laya.loader.create("cj\cj-default001.lm",Laya.Handler.create(this,this.onCreateComplete));       function o...

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

79. 一个3D正方体模型,想给它六个面贴不同的贴图,该如何处理? [ 54%]

...var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; 贴图只能选一张吗? 2018-02-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

80. 以前用lm文件加载模型。现在用lh文件加载模型无法贴图 [ 54%]

...a.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/FBXtoolsdaochu/denglongyu.jpg"); fish.meshRender.material = fishmaterial; fish.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); fish.transform.position = new Laya.Vector3(0,0.5,0); // f...

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