大约有 7 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
...除。 EventDispatcher setGroup(url:String, group:String):void[static] 设置资源分组。 LoaderProtected Methods MethodDefined By complete(data:*):void 加载完成。 Loader onLoaded(data:* = null):void 资源加载完成的处理函数。 LoaderEvents Event Summary Defined By co...
来源: Laya2.0_api 发布时间: 20190513
...ll, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0):void 设置此对象的位图资源、UV数据信息。 TextureEvents Event Summary Defined By ready资源加载完成后调度。TextureProperty Detailbitmappropertybitmap:Texture2D 获取位图。 Implementation publ...
来源: Laya2.0_api 发布时间: 20190513
...口 TiledMap setViewPortPivotByScale(scaleX:Number, scaleY:Number):void 设置视口的缩放中心点(例如:scaleX= scaleY= 0.5,就是以视口中心缩放) TiledMapPublic Constants ConstantDefined By ORIENTATION_HEXAGONAL : String = hexagonal[static] 六边形地图TiledMap ORIENT...
来源: Laya2.0_api 发布时间: 20190513
...s MethodDefined By Graphics()Graphics alpha(alpha:Number):AlphaCmd 设置透明度。 Graphics clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不...
来源: Laya2.0_api 发布时间: 20190513
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: Laya2.0_api 发布时间: 20190513
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513