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

大约有 7 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)

1. laya.net.Loader [ 100%]

...除。 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

2. laya.resource.Texture [ 98%]

...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

3. laya.map.TiledMap [ 96%]

...口 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

4. laya.display.Graphics [ 87%]

...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

5. laya.ani.bone.Skeleton [ 72%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

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

6. laya.ui.Image [ 67%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

7. laya.ui.AdvImage [ 62%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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