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

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

1. laya.net.LoaderManager [ 100%]

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

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

2. laya.net.Loader [ 99%]

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

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

3. laya.ui.Clip [ 84%]

...bjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖向分割每个切片的高度 clipHeight , 从左向右,从上到下,分割组合为一个切片...

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

4. laya.ui.Image [ 84%]

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

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

5. laya.device.media.Video [ 83%]

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

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

6. laya.display.Animation [ 82%]

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

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

7. laya.ui.AdvImage [ 82%]

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

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

8. laya.ui.ProgressBar [ 81%]

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

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

9. laya.resource.Texture [ 81%]

...宽度(包括被裁剪的透明区域)。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

10. laya.ui.FontClip [ 81%]

...r Object 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应的字体内容sheet(如果多行,可以使用空格换行),示例: fontClip.skin = "font1.pn...

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