• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 64 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0054 秒)

1. laya.net.Loader [ 100%]

... Loader  clearTextureRes(url:String):void[static] 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理texture里面使用的图片资源,并不销毁text...

来源: Laya2.0_api 发布时间: 20190513

2. laya.net.LoaderManager [ 95%]

... LoaderManager  clearTextureRes(url:String):void 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理texture里面使用的图片资源,并不销毁textu...

来源: Laya2.0_api 发布时间: 20190513

3. laya.display.Input [ 80%]

...单位。 Text texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite textWidth : N...

来源: Laya2.0_api 发布时间: 20190513

4. laya.display.AnimationBase [ 79%]

...刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : ...

来源: Laya2.0_api 发布时间: 20190513

5. laya.resource.Texture [ 77%]

...宽度(包括被裁剪的透明区域)。Texture  url : String = null图片地址Texture  uv : ArrayTexture  width : Number 实际宽度。TexturePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  Texture(bitmap:Texture2D = null, uv:Array = null...

来源: Laya2.0_api 发布时间: 20190513

6. laya.display.Animation [ 75%]

...刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : ...

来源: Laya2.0_api 发布时间: 20190513

7. laya.display.FrameAnimation [ 72%]

...刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : ...

来源: Laya2.0_api 发布时间: 20190513

8. laya.resource.HTMLCanvas [ 71%]

...。 HTMLCanvas  toBase64(type:String, encoderOptions:Number):String 把图片转换为base64信息 HTMLCanvas  toBase64Async(type:String, encoderOptions:Number, callBack:Function):voidHTMLCanvasProperty Detail_sourcepropertypublic var _source:*_textureproperty public var _texture:Texturecontext...

来源: Laya2.0_api 发布时间: 20190513

9. laya.display.EffectAnimation [ 69%]

...EffectAnimation texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : ...

来源: Laya2.0_api 发布时间: 20190513

10. laya.map.TiledMap [ 63%]

...区 每块又包括N个格子(tile) 格子类型又分为动画格子跟图片格子两种 Public Properties PropertyDefined By  antiCrack : Boolean = true 是否调整地块边缘消除缩放导致的缝隙 TiledMap  autoCache : Boolean = true 是否自动缓存没有动画的地块 TiledMap...

来源: Laya2.0_api 发布时间: 20190513