大约有 11 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
...er = 1, color:String = null, blendMode:String = null):DrawTextureCmd 绘制纹理,相比drawImage功能更强大,性能会差一些 Graphics drawTextures(texture:Texture, pos:Array):DrawTexturesCmd 批量绘制同样纹理。 Graphics drawTriangles(texture:Texture, x:Number, y:Number, vert...
来源: Laya2.0_api 发布时间: 20190513
...Texture defaulteTexture : BaseTexture[override] [read-only] 获取默认纹理资源。 RenderTexture depthStencilFormat : int[read-only] 获取深度格式。 return 深度格式。 RenderTexture filterMode : int 缩小过滤器 BaseTexture format : int[read-only] 纹理格式 BaseTexture ...
来源: Laya2.0_api 发布时间: 20190513
...pos : Array 绘制次数和坐标。 DrawTexturesCmd texture : Texture 纹理。 DrawTexturesCmdPublic Methods MethodDefined By recover():void 回收到对象池 DrawTexturesCmdPublic Constants ConstantDefined By ID : String = DrawTextures[static] DrawTexturesCmdProperty Detailpospropert...
来源: Laya2.0_api 发布时间: 20190513
...xture2D defaulteTexture : BaseTexture[override] [read-only] 获取默认纹理资源。 RenderTexture2D defuv : Array[static] RenderTexture2D depthStencilFormat : int[read-only] 获取深度格式。 return 深度格式。 RenderTexture2D filterMode : int 缩小过滤器 BaseTexture fli...
来源: Laya2.0_api 发布时间: 20190513
...dMap getSprite(index:int, width:Number, height:Number):GridSprite 通过纹理索引,生成一个可控制物件 TiledMap getTexture(index:int):TileTexSet 得到一块指定的地图纹理 TiledMap getTileProperties(index:int, id:int, name:String):* 得到tile自定义属性 TiledMap g...
来源: Laya2.0_api 发布时间: 20190513
...。 Node alwaysUseRenderTexture : Boolean 获取是否始终使用渲染纹理,在某些渲染配置下会直接将渲染结果渲染到屏幕上,getRenderTexture()方法的返回值为空,如需使用getRenderTexture()可开启此属性。 Camera aspectRatio : Number 获取横纵比。 Camera...
来源: Laya2.0_api 发布时间: 20190513
...ic class TextureInheritanceTexture EventDispatcher Object Texture 是一个纹理处理类。 Public Properties PropertyDefined By bitmap : Texture2D 获取位图。 Texture destroyed : Boolean[read-only] 获取是否已经销毁。 Texture height : Number 实际高度。Texture offsetX...
来源: Laya2.0_api 发布时间: 20190513
...,3宫格性能比9宫格高。 AutoBitmap source : Texture 对象的纹理资源。 AutoBitmap width : Number 表示显示对象的宽度,以像素为单位。 AutoBitmapPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By alpha(alpha:Number):AlphaC...
来源: Laya2.0_api 发布时间: 20190513
...ters slotName:String — 插糟的名字 texture:Texture — 自定义的纹理 showSkinByIndex()method public function showSkinByIndex(skinIndex:int, freshSlotIndex:Boolean = true):void 通过索引显示一套皮肤 Parameters skinIndex:int — 皮肤索引 freshSlotIndex:Boolean (default = ...
来源: Laya2.0_api 发布时间: 20190513
...后,会自动缓存至资源库中。 Image source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓存,只能通...
来源: Laya2.0_api 发布时间: 20190513