KITASENJU DESIGN BLOG

memo, html, javascript, unity

Entries from 2024-02-08 to 1 day

webglからpngを毎フレームレンダリング

async tick(){ this.renderer.render(this.scene, this.oCamera); if(Params.isRec) Params.download2(); setTimeout(()=>{ this.tick(); },1000/60) } public static dhandle:any; public static async donwloadInit(){ Params.dhandle = await (window as …

typescriptでエラー無視する

// @ts-ignore をかく // @ts-ignore let example = 2; example = "型チェックを無視";

"FOOTER"