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

大约有 314 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)

161. PBRStandardMaterial 遮挡贴图效果不明显 [ 55%]

...g_huang1_mat.smoothness = 0.22; ID_12kg_huang1_mat.occlusionTexture = Laya.Texture2D.load("res/aidu/four12/Assets/pic/four12KG.jpg"); ID_12kg_huang1_mat.occlusionTextureStrength = 1; ID_12kg_huang1.meshRender.sharedMaterial = ID_12kg_huang1_mat; 2018-05-09 添加评论 免费帖 --> 分享 微博 QZ...

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

162. laya.d3.core.scene.Scene3D [ 55%]

...显示区域,不包括子对象。 Sprite  getlightmaps():Vector.<Texture2D> 获取光照贴图浅拷贝列表。 Scene3D getMousePoint():Point获得相对于本对象上的鼠标坐标信息。Sprite getRepaint():intSprite getSelfBounds():Rectangle 获取本对象在自己坐标系的...

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

163. 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

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

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

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

165. 关于摄像机渲染3D到2Dsprite safari 黑屏的问题 [ 55%]

...like Gecko) Version/15.4 Safari/605.1.15"   现在的情况是想搞一个texture2D, 然后把很多张图片按每一帧刷新到这上面。 项目中使用fairyUI,如果addChildAt这个,3D模型就显示不出来,如果换demo那种办法就会黑屏,该如何处理?有点棘手,...

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

166. 渲染问题,材质表现不符合预期 [ 55%]

...          */          get/set anisoLevel()   设置一下 texture2d.anisoLevel 2019-08-08 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 EagleNight 相关问题 发起问题须知,必看!!...

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

167. 想用camera做一个类似照相机的功能 [ 55%]

...ra.CLEARFLAG_SKY;             var rtex = new Texture(((<Texture2D>(this.renderTargetCamera.renderTarget as any))), Texture.DEF_UV);             this.imgSp = new Sprite();             this.imgSp.graphics.clear();             this.imgSp.c...

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

168. laya.d3.core.MeshTerrainSprite3D [ 55%]

...。 MeshTerrainSprite3D  createFromMeshAndHeightMap(mesh:Mesh, texture:Texture2D, minHeight:Number, maxHeight:Number, name:String = null):MeshTerrainSprite3D[static] 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 MeshTerrainSprite3D destroy(destroyChild:Boolean = ...

来源: laya_api 发布时间: 20170929

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

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

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

170. TypeScript 泛形方法如何传TYPE? [ 55%]

...?并不能替换是为什么?? 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 Laya的应用内支付方法调用 问题状态 最新活动: 2018-05-31 10:45 浏览: 1567 关注: 2 人

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