コード例 #1
0
ファイル: Recording.cs プロジェクト: ly774508966/RockVR_UI
 /// <summary>
 /// Move to next frame based on frame internal index.
 /// </summary>
 public void NextFrame()
 {
     if (FrameIndex >= Frames.Count)
     {
         CurrentFrame = null;
         return;
     }
     CurrentFrame = Frames [FrameIndex++];
 }
コード例 #2
0
ファイル: Recording.cs プロジェクト: ly774508966/RockVR_UI
 /// <summary>
 /// Create a new record frame and add to frame list.
 /// </summary>
 public void NewFrame()
 {
     CurrentFrame = new RecordingFrame <T> ();
     Frames.Add(CurrentFrame);
 }