大约有 27 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0038 秒)
LAYA_API #laya_nav { display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media...
来源: Laya3.0_api 发布时间: 20230115
... format = exports.TextureFormat.ETC1RGB; break; case "pvr": format = exports.Tex...
来源: Laya_社区 发布时间: 20201130
...edResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?: boolean): TextureCube Overrides BaseTexture.constructor Defined in laya/d3/resource/TextureCube.ts:79 Parameters size: number format: TextureFormat Default value mipmap: boolean = true ...
来源: Laya3.0_api 发布时间: 20231102
.../创建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 = new Sprite(); //使用Sprite对象的绘制纹理方式 sp2.graphics.d...
来源: Laya3.0_文档 发布时间: 20230303
...edResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?: boolean, premultiplyAlpha?: boolean): TextureCube Overrides BaseTexture.constructor Defined in laya/resource/TextureCube.ts:85 Parameters size: number format: TextureFormat Default valu...
来源: Laya3.0_api 发布时间: 20231115
...r new Texture2DArray(width: number, height: number, depth: number, format: TextureFormat, mipmap?: boolean, canRead: boolean, sRGB?: boolean): Texture2DArray Overrides BaseTexture.constructor Defined in laya/resource/Texture2DArray.ts:12 Parameters width: number height: number depth: number format: ...
来源: Laya3.0_api 发布时间: 20231115
... }, constructParams: [undefined, undefined, Laya.TextureFormat.R8G8B8A8, true, true] }).then((texture: any) => {} 因为我需要读取PNG图片像素点 所以加载使用了上图的方式(canRead:true),但是图片加载...
来源: Laya_社区 发布时间: 20250819
...structors constructor new Texture2D(width: number, height: number, format: TextureFormat, mipmap?: boolean, canRead: boolean, sRGB?: boolean, premultiplyAlpha?: boolean): Texture2D Overrides BaseTexture.constructor Defined in laya/resource/Texture2D.ts:247 实例化2D纹理 Parameters width: number ...
来源: Laya3.0_api 发布时间: 20231115
...信 181*****321 赞同来自: constructParams: [undefined, undefined, Laya.TextureFormat.R8G8B8A8, true, true] 2025-08-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 MAR 相关问题 我崩了2.13.0 sourcemap生成错误,直接没...
来源: Laya_社区 发布时间: 20190110
..., "powerOfTwo": false,//生成的图集是否尺寸保持在2的整次幂 "textureFormat": "png32"//png32和png8 }, //是针对散图的设置 "sprite": { //width和height分别是允许的散图尺寸,不符合要求的会被复制到resDir "width": 512, "height": 512, //每张散图在图集中...
来源: Laya_社区 发布时间: 20161201