大约有 54 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)
Texture自动恢复还是存在另外的问题 laya.resource.Texture类 __proto.recoverBitmap=function(){ var _$this=this; var url=this._bitmap.url; if (!this._destroyed && (!this._bitmap || this._bitmap.destroyed)&& url){ ...
来源: Laya_社区 发布时间: 20190311
...| Index | Frames No Frames HTMLCanvasProperties | Methods Packagelaya.resourceClasspublic class HTMLCanvasInheritanceHTMLCanvas laya.resource.Bitmap HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。 Public Properties PropertyDefined By context : Context[read-o...
来源: Laya2.0_api 发布时间: 20190513
...t;code>Texture</code> 是一个纹理处理类。 */ //class laya.resource.Texture extends laya.events.EventDispatcher var Texture=(function(_super){ function Texture(bitmap,uv){ /**图片或者canvas 。*/ //this.bitmap=null; /**UV信息。*/ //this.uv=null; /**沿 X 轴偏移量。*/ this...
来源: Laya_社区 发布时间: 20180504
...play.Sprite; import laya.maths.Matrix; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; public class LayaAirDemo { public function LayaAirDemo() { Laya.init(700,600); Laya.loader.load('res/apes/monkey2.png',Handler.create(this,onLoaded)) } private function onLoaded():...
来源: Laya_社区 发布时间: 20170414
...es No Frames TextureCubeProperties | Methods | Constants Packagelaya.d3.resourceClasspublic class TextureCubeInheritanceTextureCube BaseTexture laya.resource.Bitmap TextureCube 类用于生成立方体纹理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties P...
来源: Laya2.0_api 发布时间: 20190513
...注: 5 人 FlyBall • 2024-04-30 09:09 我看了下,gc里面调用的是Resource.destroyUnusedResources(); 这个我也用了。还是无法完全移除png资源
来源: Laya_社区 发布时间: 20240429
... No Frames RenderTextureProperties | Methods | Constants Packagelaya.d3.resourceClasspublic class RenderTextureInheritanceRenderTexture BaseTexture laya.resource.Bitmap //RenderTexture 类用于创建渲染目标。 Public Properties Hide Inherited Public Properties Show Inherited Public Properti...
来源: Laya2.0_api 发布时间: 20190513
... png = window.conch.convertBitmapToPng(data, 640, 1136); var cc = new laya.resource.Texture(data); ss.source = cc; // Laya.stage.addChild(sp);//添加到舞台 } function errorHandler(url) { gbx.log("2222222222222222") } } ss 是一个image, data 已经下载到了 在native下,怎么画出来 ...
来源: Laya_社区 发布时间: 20180201
...卸载后的资源状态: var assets: Array<any> = [] assets.push("resources/apes/monkey0.png"); assets.push("resources/apes/monkey1.png"); assets.push("resources/apes/monkey2.png"); assets.push("resources/apes/monkey3.png"); Laya.loader.load(assets).then(()=>{ for(var i:number = 0, len: ...
来源: Laya3.0_文档 发布时间: 20231008
...=medium WebGLImage类, https://layaair.ldc.layabox.com/api/laya/webgl/resource/WebGLImage.html 可以试试把放大过滤改一下,应该是NEAREST:int = 0x2600; 2019-06-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 AARONXX ...
来源: Laya_社区 发布时间: 20180510