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

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

401. laya.ui.VBox [ 60%]

...archy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过piv...

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

402. 教你微信小游戏使用服务端gzip数据。 [ 60%]

... =  0;  i  <  arr.length;  i++)  {             str  +=  String.fromCharCode(arr[i]);       }   return toType === 'json' ? JSON.parse(decodeURIComponent(escape(str))) : decodeURIComponent(escape(str)); } //转换成byte  function fromCharCode(pakoData,toType = 'json'){   let ...

来源: Laya_社区 发布时间: 20191211

403. 仅在Android微信小游戏下图片错乱 [ 60%]

...同来自: load(url: any, complete?: Handler, progress?: Handler, type?: string, priority?: number, cache?: boolean, group?: string, ignoreCache?: boolean): LoaderManager;   这里的ignoreCache对图片资源不工作! 这是导致划屏的原因。 悬赏充了100块,没人解决也不会退...

来源: Laya_社区 发布时间: 20180609

404. laya.ui.VBox [ 60%]

...c Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴...

来源: laya_api 发布时间: 20170929

405. 如何把加载好的二进制数据转成Texture? [ 60%]

...b.append(fragment); blob = bb.getBlob("image/png"); } } var url: string = URL.createObjectURL(blob) var htmlImg: Laya.HTMLImage = Laya.HTMLImage.create(url);//这里创建HTMLImage 这里要用HTMLImage.create; if (onload != null) { htmlImg.onload = onload; } return htmlImg; } InfinityX ...

来源: Laya_社区 发布时间: 20170502

406. laya.ui.CheckBox [ 60%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...

来源: laya_api 发布时间: 20170929

407. laya.ui.HBox [ 60%]

...archy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过piv...

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

408. laya.ui.RadioGroup [ 60%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...

来源: laya_api 发布时间: 20170929

409. laya.utils.PerfHUD [ 60%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...

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

410. laya.ui.HBox [ 59%]

...c Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴...

来源: laya_api 发布时间: 20170929