Tython icon indicating copy to clipboard operation
Tython copied to clipboard

実行中に録画停止及び録画再開(別ファイルで)が行えるように

Open gongo opened this issue 14 years ago • 0 comments

現在は録画開始 WorldContext::enableRecord() しかなく、 録画を正常に終了するには xn::Context の StopGeneratingAll() や Shutdown() で行なっている。

Shutdown() を行わずに、プログラム実行中で録画の停止を行えるようにする。 また、別ファイルで録画再開ができるようにする

WorldContext ctx;
ctx->enableRecord("hoge.oni");

// 処理

ctx->disableRecord(); // hoge.oni の書き出し正常終了
ctx->enable("hoge2.oni"); // 別ファイルで録画再開

gongo avatar Sep 24 '11 14:09 gongo