大约有 133 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
Laya_社区(99) Laya2.0_文档(13) Laya3.0_文档(7) laya_api(4) Laya3.0_api(4) Laya2.0_api(4) Laya2.0_示例(1) Laya_示例(1)
...重的发热。 1.2 纹理格式种类 1.2.1 ASTC ASTC(Adaptive Scalable Texture Compression)是一种世界领先的新型纹理压缩格式。ASTC由ARM和AMD联合开发,2012年发布。是一种基于块的有损压缩算法。它的压缩分块从4x4到12x12最终可以压缩每个像素...
来源: Laya3.0_文档 发布时间: 20251010
...,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false clearResByGroup()method public function clearResByGroup(group:String):void 根据分组清理资源。 Parameters group:String — 分组名 clearUnLoaded()method public function clearUnLoaded():vo...
来源: laya_api 发布时间: 20170929
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...s not exist on type 'Node'. matter中layasprite怎么改变图片大小? Texture图片能否进行翻转? ios14系统下 blendMode='lighter' 图片异常 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 本地调试加载本地图片都报错 LayaAir使用AS语言能...
来源: Laya_社区 发布时间: 20180613
...]),null,Laya.Loader.IMAGE); } private showImg(url:string):void{ var t:Laya.Texture = Laya.loader.getRes(url); var ape:Laya.Sprite = new Laya.Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200,0); } ``` 第三种我们直接创建一个纹理来 ```typescript private com...
来源: Laya2.0_文档 发布时间: 20210714
...]),null,Loader.IMAGE); } private function showImg(url:String):void { var t:Texture = Laya.loader.getRes(url); var ape:Sprite = new Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200, 0); } ``` 第三种我们直接创建一个纹理来 ```java private function completeH...
来源: Laya2.0_文档 发布时间: 20210714
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...tation scaleX scaleY scene scrollRect skewX skewY source stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains custo...
来源: Laya3.0_api 发布时间: 20231115
...stIndexOf(".")) + "/"; var url:String = directory + name; loadedMap[url] = Texture.create(tPic, obj.frame.x, obj.frame.y, obj.frame.w, obj.frame.h, obj.spriteSourceSize.x, obj.spriteSourceSize.y, obj.sourceSize.w, obj.sourceSize.h); 如果你的json文件中没有meta.prefix,那么地址与json文...
来源: Laya_社区 发布时间: 20160610
... 18:21:21.456287+0800 layabox[3608:626785] getExtension WEBGL_compressed_texture_s3tc 尚未支持 2020-04-22 18:21:21.456724+0800 layabox[3608:626785] getExtension WEBKIT_WEBGL_compressed_texture_s3tc 尚未支持 2020-04-22 18:21:21.457174+0800 layabox[3608:626785]...
来源: Laya_社区 发布时间: 20200422