大约有 2 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0013 秒)
... 2; this.controller.y = (Laya.stage.height - this.controller.height) / 2 + 110; this.owner.addChild(this.controller); } private onClipSwitchState(e: any = null): void { if (this.counter.isPlaying) { this.counter.stop(); this.currFrame = this.counter.index; this.controller.label = "播放"; } else { ...
来源: Laya3.0_文档 发布时间: 20251010
...据并加载到 LayaAir 引擎中 const img = new Laya.Image(); img.size(110, 145); // 设置图片显示大小 img.skin = Laya.Browser.window.URL.createObjectURL(new Blob([uint8Array], { type: 'image/png' })); img.centerX = 0; // 设置图片居中显示 // 将图片添加到舞台显示 Laya.stage...
来源: Laya3.0_文档 发布时间: 20251010