大约有 145 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
... Original Texture Type --- 需要转换格式的原始纹理类型 Non-PNG|JPG 非png| jpg 格式贴图,现在支持 tga,psd,gif,tif,bmp,exr格式 PNG ...
来源: Laya_社区 发布时间: 20170428
...代码 (function(){ /** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //最大右边距离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; Floor.__super.call(t...
来源: Laya_社区 发布时间: 20160801
...出来 (function(){ /** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //最大右边距离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; //当前地板上面...
来源: Laya_社区 发布时间: 20160803
...处理是 /** * json文件读取成功后,解析里面的纹理数据,进行加载 * @param e JSON数据 */ private function onJsonComplete(e:*):void { _mapSprite = new Sprite(); Laya.stage...
来源: Laya_社区 发布时间: 20161109
...时候做一些自动化处理,比如导入图片时自动设置为精灵纹理,设置压缩格式等,这时可以使用IAssetProcessor接口,接口的定义如下: export interface IAssetProcessor { //在图片资源被导入前调用 onPreprocessImage?(assetImporter: IImageAssetImporter)...
来源: Laya3.0_文档 发布时间: 20251010