大约有 133 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0056 秒)
...tutu=tietu.skinnedMeshRender.sharedMaterial; tietutu.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/denglongyu1.jpg") var zombieAnimator = layaMonkey.getChildByName("denglongyu").getComponentByType(Laya.Animator) })) 这个是直接创建一个对象。然后别的地方再克隆、我想...
来源: Laya_社区 发布时间: 20171212
...会把Animation的对象清空? 怎么判断是否在IOS设备上 请问Texture2D如何用base64字符串构建对象 问题状态 最新活动: 2017-11-02 10:32 浏览: 1497 关注: 3 人
来源: Laya_社区 发布时间: 20170328
...discard;\n #ifdef TINTCOLOR\n gl_FragColor*=texture2D(u_texture,v_TextureCoordinate)*u_Tintcolor*2.0*v_Color;\n #else\n gl_FragColor*=texture2D(u_texture,v_TextureCoordinate)*v_Color;\n #endif\n #else\n #ifdef T...
来源: Laya_社区 发布时间: 20190412
....1.0.btea1 怎么获取对象的坐标 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 3d坐标转换问题 unity的坐标和旋转转换到laya需要做什么运算 问题状态 最新活动: 2018-08-29 17:15 浏览: 2857 关注: 4 人 152*****...
来源: Laya_社区 发布时间: 20180706
...时候再场景runtime继承类中,构造函数里面加载图片 Laya.Texture2D.load("billiards/grass.png",会报错。 附件 : --> 2020-06-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 157*****593 赞...
来源: Laya_社区 发布时间: 20200624
...接在unity添加相同材质显然不会出现这种情况) Laya.Texture2D.load("res/skin/2.jpg",new Laya.Handler(this,this.loadfinish));//加载贴图 loadfinish(tex){ var mat=new Laya.UnlitMaterial();//创建材质 mat.albedoTexture=tex;//给材质添加贴图 //mat.albedoColorA = 0.5; //...
来源: Laya_社区 发布时间: 20200626
...很高,该怎么办? 和官网推荐的material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; Laya.URL.basePath = "https://XXXX.com";//请把XXXX换成自己的真实网址; //在此之下,再使用load加载资源,都会自动加入URL网址...
来源: Laya_社区 发布时间: 20180122
...getRes(pngUrl); if (res && res._bitmap instanceof Laya.Texture2D) { res._bitmap.destroy(); } Laya.loader.clearRes(pngUrl) } } tmpDat.destroy(); } 2024-06-14 1 0 分享 微博 QZONE 微信 FlyBall 赞同来自:...
来源: Laya_社区 发布时间: 20240429
...显示区域,不包括子对象。 Sprite getlightmaps():Vector.<Texture2D> 获取光照贴图。 Scene getMousePoint():Point获得相对于本对象上的鼠标坐标信息。Sprite getRenderQueue(index:int):RenderQueue 获得某个渲染队列。 Scene getScriptByIndex(index:int)...
来源: laya_api 发布时间: 20170929
...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