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

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

1. laya.resource.Texture [ 100%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher Object Texture 是一个纹理处理类。 Public Properties PropertyDefined By  bitmap : Texture2D ...

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

2. laya.display.BitmapFont [ 97%]

...用Text.unregisterBitmapFont 时,默认会销毁。 BitmapFont  getCharTexture(char:String):Texture 获取指定字符的字体纹理对象。 BitmapFont  getCharWidth(char:String):Number 获取指定字符的宽度。 BitmapFont  getMaxHeight():Number 获取最大字符高度。 BitmapFont...

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

3. laya.net.Loader [ 96%]

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

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

4. laya.resource.Texture2D [ 95%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames Texture2DProperties | Methods | Constants Packagelaya.resourceClasspublic class Texture2DInheritanceTexture2D BaseTexture laya.resource.Bitmap Texture2D 类用于生成2D纹理。 Public Properties Hide Inherited Public Pr...

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

5. laya.net.LoaderManager [ 93%]

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

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

6. laya.display.Graphics [ 90%]

...h:Number = 1):DrawCurvesCmd 绘制一系列曲线。 Graphics  drawImage(texture:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0):DrawImageCmd 绘制单独图片 Graphics  drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:Number = 1...

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

7. laya.ui.AutoBitmap [ 87%]

...0,1为垂直3宫格,3宫格性能比9宫格高。 AutoBitmap  source : Texture 对象的纹理资源。 AutoBitmap  width : Number 表示显示对象的宽度,以像素为单位。 AutoBitmapPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By alpha(a...

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

8. laya.ani.bone.Skeleton [ 70%]

...rite  templet : Templet[read-only] 得到动画模板的引用 Skeleton texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

9. laya.ui.Image [ 69%]

...源加载完成后,会自动缓存至资源库中。 Image  source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓...

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

10. laya.d3.core.trail.TrailMaterial [ 69%]

... SHADERDEFINE_ADDTIVEFOG : int[static] TrailMaterial  SHADERDEFINE_MAINTEXTURE : int[static] TrailMaterial  SHADERDEFINE_TILINGOFFSET : int[static] TrailMaterial  texture : BaseTexture 获取贴图。 TrailMaterial  tilingOffset : Vector4 获取纹理平铺和偏移。 TrailMaterial  tili...

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