大约有 217 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0035 秒)
...I DocumentationAll Packages | All Classes | Index | Frames No Frames Texture2DProperties | Methods Packagelaya.d3.resourceClasspublic class Texture2DInheritanceTexture2D BaseTexture laya.resource.Resource Texture2D 二维纹理。 Public Properties Hide Inherited Public Properties Show Inher...
来源: laya_api 发布时间: 20170929
从图集中创建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
...I DocumentationAll Packages | All Classes | Index | Frames No Frames Texture2DProperties | Methods | Constants Packagelaya.resourceClasspublic class Texture2DInheritanceTexture2D BaseTexture laya.resource.Bitmap Texture2D 类用于生成2D纹理。 Public Properties Hide Inherited Public Pr...
来源: Laya2.0_api 发布时间: 20190513
...HTMLImageElement Laya.loader.fetch( url,"image" ).then((res)=>{ //创建Texture2D var t2d: Texture2D = new Texture2D(res.width, res.height, TextureFormat.R8G8B8A8, false, false, true); t2d.setImageData(res, true, false); //创建Texture var texture: Texture = new Texture(t2d); let sp2:Sprite = ne...
来源: Laya3.0_文档 发布时间: 20230303
...一个纹理处理类。 Public Properties PropertyDefined By bitmap : Texture2D 获取位图。 Texture destroyed : Boolean[read-only] 获取是否已经销毁。 Texture height : Number 实际高度。Texture offsetX : Number = 0沿 X 轴偏移量。Texture offsetY : Number = 0沿 ...
来源: Laya2.0_api 发布时间: 20190513
...cumentationAll Packages | All Classes | Index | Frames No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Propert...
来源: laya_api 发布时间: 20170929