大约有 555 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)
Laya_社区(156) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(22) Laya3.0_文档(17) Laya2.0_示例(3) Laya_示例(3)
...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
...同来自: load(url: any, complete?: Handler, progress?: Handler, type?: string, priority?: number, cache?: boolean, group?: string, ignoreCache?: boolean): LoaderManager; 这里的ignoreCache对图片资源不工作! 这是导致划屏的原因。 悬赏充了100块,没人解决也不会退...
来源: Laya_社区 发布时间: 20180609
...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
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...
来源: laya_api 发布时间: 20170929
...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
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...
来源: laya_api 发布时间: 20170929
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...
来源: Laya2.0_api 发布时间: 20190513
...andler.runWith(this.hr.data); } } private function onHrErrorHandler($error:String):void { if(this.errorHandler) { this.errorHandler.runWith($error); } } 其中就是这个$error,在网页和原生返回的明显不一样,如果现在原生就是有这个问题的话,那我们只能想别的方...
来源: Laya_社区 发布时间: 20180528
...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
...} /** * 当报错时打印错误 * @param err 报错信息 */ onError(err: string): void { console.log("加载失败: " + err); } /** * 加载时侦听 */ onLoading(progress: number): void { //接近完成加载时,让显示进度比实际进度慢一点,这是为打开场景时的自动加载...
来源: Laya3.0_文档 发布时间: 20240106