ts-runtime: pixi
I want to transform canvas into img after setSlotsToSetupPose(), but funtion setSlotsToSetupPose takes times to render the new skin. So the content of img shows nothing if rendering does not finish after setSlotsToSetupPose().
Q: How can I get the new img of the new skin after setSlotsToSetupPose() ?
sack.skeleton.setSkin(item)
sack.skeleton.setSlotsToSetupPose()
const img = await app.renderer.extract.base64()