This commit is contained in:
syuilo
2026-05-31 09:26:19 +09:00
parent 27fff648b6
commit cdbf5c843f
5 changed files with 15 additions and 2 deletions
@@ -329,6 +329,10 @@ export abstract class EngineControllerBase<T extends EngineBase<EngineBaseEvents
this.call('resumeRender');
}
public takeScreenshot() {
return this.callAndWaitReturn('takeScreenshot');
}
public resize() {
if (this.canvas == null) return;
const width = this.canvas.clientWidth;