言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Animator.StartRecording

Switch to Manual
public function StartRecording(frameCount: int): void;

Parameters

frameCount 録画されるフレーム数(更新数)。もし frameCount が 0 である場合、ユーザが StopRecording をコールするまで継続されます。frameCount の最大値は 10000 です。

Description

Animatorを録画モードにセットして、frameCount の大きさのリングバッファを割り当てます。

この呼び出しの後、録画が frameCount となるまでフレームをバッファに累積します。 StopRecording へのコールが行われるまでプレイバックの開始が出来ないことに留意して下さい。 See Also: StopRecording, recorderStartTime, recorderStopTime, StartPlayback, StopPlayback, playbackTime.