大约有 62 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
... 截取Texture的一部分区域,生成新的Texture,如果两个区域没有相交,则返回null。 Texture destroy(force:Boolean = false):void 销毁纹理。 Texture disposeBitmap():void 强制释放Bitmap,无论是否被引用。 Texture event(type:String, data:* = null):Boolean 派...
来源: Laya2.0_api 发布时间: 20190513
...neWidth:Number, textAlign:String):StrokeTextCmd 在画布上绘制文本(没有填色)。文本的默认颜色是黑色。 Graphics transform(matrix:Matrix, pivotX:Number = 0, pivotY:Number = 0):TransformCmd 替换绘图的当前转换矩阵。 Graphics translate(tx:Number, ty:Number):Tran...
来源: Laya2.0_api 发布时间: 20190513
...neWidth:Number, textAlign:String):StrokeTextCmd 在画布上绘制文本(没有填色)。文本的默认颜色是黑色。 Graphics transform(matrix:Matrix, pivotX:Number = 0, pivotY:Number = 0):TransformCmd 替换绘图的当前转换矩阵。 Graphics translate(tx:Number, ty:Number):Translat...
来源: Laya2.0_api 发布时间: 20190513
...导致的缝隙 TiledMap autoCache : Boolean = true 是否自动缓存没有动画的地块 TiledMap autoCacheType : String = normal 自动缓存类型,地图较大时建议使用normal TiledMap cacheAllAfterInit : Boolean = false 是否在加载完成之后cache所有大格子 TiledMap ...
来源: Laya2.0_api 发布时间: 20190513
...件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用时重写覆盖即可 ComponentProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _onDestroy():void[overr...
来源: Laya2.0_api 发布时间: 20190513
...遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite CAMERA : int = 4[static] Video currentSrc : String[read-only] 获取当前播放源路径。 Video currentTime : Number 设置和获取当前播放头位...
来源: Laya2.0_api 发布时间: 20190513
...遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite canvasDegree : int = 0画布的旋转角度。Stage canvasRotation : Boolean = false画布是否发生翻转。Stage clientScaleX : Number[read-only] 当...
来源: Laya2.0_api 发布时间: 20190513
...遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 List cacheContent : Boolean是否缓存内容,如果数据源较少,并且list内无动画,设置此属性为true能大大提高性能 List cells : Vector.<...
来源: Laya2.0_api 发布时间: 20190513
...遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Panel centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : ...
来源: Laya2.0_api 发布时间: 20190513
...遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY :...
来源: Laya2.0_api 发布时间: 20190513