기술 자료

Unity Engine

Unity Engine

StartRecording(int)

Sets the animator in recording mode, and allocates a circular buffer of size frameCount.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public void StartRecording(int frameCount)

Parameters

frameCount

The number of frames (updates) that will be recorded. If frameCount is 0, the recording will continue until the user calls Animator.StopRecording. The maximum value for frameCount is 10000.

Remarks

After this call, the recorder starts collecting up to frameCount frames in the buffer. Note it is not possible to start playback until a call to Animator.StopRecording is made. Additional Resources: Animator.StopRecording, Animator.recorderStartTime, Animator.recorderStopTime, Animator.StartPlayback, Animator.StopPlayback, Animator.playbackTime.