소스 검색

Document `--quit-after` command line argument in Creating movies

This can be useful to safely create a "stop recording" point that
is consistent across runs, without having to modify anything in the
project.
Hugo Locurcio 1 년 전
부모
커밋
c37e09d37c
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      tutorials/animation/creating_movies.rst

+ 3 - 1
tutorials/animation/creating_movies.rst

@@ -247,7 +247,9 @@ Quitting Movie Maker mode
 -------------------------
 
 To safely quit a project that is using Movie Maker mode, use the X button at the
-top of the window, or call ``get_tree().quit()`` in a script.
+top of the window, or call ``get_tree().quit()`` in a script. You can also use
+the ``--quit-after N`` command line argument where ``N`` is the number of frames
+to render before quitting.
 
 Pressing :kbd:`F8` (:kbd:`Cmd + .` on macOS) or pressing :kbd:`Ctrl + C` on the
 terminal running Godot is **not recommended**, as it will result in an