大约有 66 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0036 秒)
从图集中创建Texture2D问题 我在做物品的掉落渲染,需要用到Texture2D对象。我本以为Texture与Texture2D是一样的,但当我通过Texture2D的load方法获取物品图集中的图片时遇到了问题:获取出的图片不是我某个物品的,而是整个物品图...
来源: Laya_社区 发布时间: 20180129
请问native上怎么用drawToCanvas创建Texture2d? 我们要用截图drawToCanvas创建Texture2d,传进3d效果里面,但现在试了各种方法都不行, 2018-12-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...
来源: Laya_社区 发布时间: 20181210
如何使用graphics创建Texture2D 请教一下,怎么样把sprite上用graphics绘制出来的图,作为纹理(Texture2D)赋值给3D对象 2018-10-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 seaco...
来源: Laya_社区 发布时间: 20181023
请问Texture2D如何用base64字符串构建对象 给模型贴图的时候需要用base64位字符串。官方api中Texture2D的load方法的参数说明为 : Texture2D地址 。这个地址好像只能传入图片的绝对路径,如何使用base64加载呢? 附件 : --> 2018-05-18 添...
来源: Laya_社区 发布时间: 20180518
求个arraybuffer转texture2D HTMLImage create之后找不到onload方法,请问有什么方法 2018-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 没有 2018-11-19 0 0 分享 ...
来源: Laya_社区 发布时间: 20181031
...ideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.videoWidth,videoTexture.video.videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture; image.wid...
来源: Laya_社区 发布时间: 20240305
读地形高度图时,没办法把Texture2D的_canRead设为true 附件 : --> 2019-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 MAR 赞同来自: 2019-01-10 0 0 分享 微博 QZONE 微信 MAR 赞同...
来源: Laya_社区 发布时间: 20190110
...ideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.videoWidth,videoTexture.video.videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture; image.wid...
来源: Laya_社区 发布时间: 20240305
...erial6=new Laya.WaterMaterial(); customMaterial6.deepColorTexture=new Laya.Texture2D.load("water/WaterSimple.jpg"); customMaterial6.detailTexture=new Laya.Texture2D.load("water/Water2.jpg"); customMaterial6.diffuseTexture=new Laya.Texture2D.load("water/Water2.jpg"); customMaterial6.foamTexture=new L...
来源: Laya_社区 发布时间: 20170527
... Laya.loader.load("http://103.219.177.59:63344/%2 ... ot%3B, Laya.Loader.TEXTURE2D).then((texture: Laya.Texture2D) => { //在U方向上使用WARPMODE_CLAMP texture.wrapModeU = Laya.WrapMode.Clamp; //在V方向使用WARPMODE_CLAMP ...
来源: Laya_社区 发布时间: 20230316