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

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

401. 如何把加载好的二进制数据转成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

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

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

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

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

404. laya.ui.CheckBox [ 60%]

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

来源: laya_api 发布时间: 20170929

405. laya.ui.HBox [ 59%]

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

406. laya.ui.RadioGroup [ 59%]

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

来源: laya_api 发布时间: 20170929

407. laya.utils.PerfHUD [ 59%]

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

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

408. Native下http请求,Error事件中的error对象错误码全都是404 [ 59%]

...andler.runWith(this.hr.data); } } private function onHrErrorHandler($error:String):void { if(this.errorHandler) { this.errorHandler.runWith($error); } } 其中就是这个$error,在网页和原生返回的明显不一样,如果现在原生就是有这个问题的话,那我们只能想别的方...

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

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

410. 预制体模块 · LayaAir3.0文档 · LAYABOX [ 59%]

...} /** * 当报错时打印错误 * @param err 报错信息 */ onError(err: string): void { console.log("加载失败: " + err); } /** * 加载时侦听 */ onLoading(progress: number): void { //接近完成加载时,让显示进度比实际进度慢一点,这是为打开场景时的自动加载...

来源: Laya3.0_文档 发布时间: 20240106