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

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

1. laya.resource.Texture [ 100%]

...量。Texture  sourceHeight : Number = 0原始高度(包括被裁剪的透明区域)。Texture  sourceWidth : Number = 0原始宽度(包括被裁剪的透明区域)。Texture  url : String = null图片地址Texture  uv : ArrayTexture  width : Number 实际宽度。TexturePublic Met...

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

2. laya.map.TiledMap [ 80%]

...除被覆盖的格子,地块可添加type属性,type不为0时表示不透明,被不透明地块遮挡的地块将会被剔除以提高性能 TiledMap  renderOrder : String[read-only] tile渲染顺序 TiledMap  scale : Number 得到当前地图的缩放 TiledMap  showGridTextureCount : Boo...

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

3. laya.ui.AutoBitmap [ 73%]

...rited Public Methods MethodDefined By 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

4. laya.ui.DialogManager [ 69%]

...发管理类的open和close事件 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭,点击窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Public Properties Hide Inherited Public Properties Show Inherited Public ...

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

5. laya.display.Graphics [ 68%]

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

6. laya.display.Sprite [ 67%]

...Boolean[read-only] 获取在场景中是否激活。 Node  alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite  autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不...

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

7. laya.ui.ScaleBox [ 67%]

...: Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : ...

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

8. laya.ui.Box [ 66%]

...: Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : ...

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

9. laya.ui.VBox [ 66%]

...。 Node align : String 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : N...

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

10. laya.ui.TipManager [ 66%]

...: Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : ...

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