コード例 #1
0
ファイル: MainForm.cs プロジェクト: Jiwan/ROSE-Camera-Editor
 private void interpolationMenuItem_Click(object sender, EventArgs e)
 {
     if (this.camMotion != null)
     {
         InterpolationMessageBox interpolationMessageBox = new InterpolationMessageBox(0, this.camMotion.GetFrames().Count - 1);
         if (interpolationMessageBox.ShowDialog() == DialogResult.OK)
         {
             this.camMotion.Interpolate(interpolationMessageBox.GetMinFrameIndex(), interpolationMessageBox.GetMaxFrameIndex(), interpolationMessageBox.GetSpeed());
             this.DisplayFrames();
         }
     }
 }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: Jiwan/ROSE-Camera-Editor
 private void interpolationMenuItem_Click(object sender, EventArgs e)
 {
     if (this.camMotion != null)
     {
         InterpolationMessageBox interpolationMessageBox = new InterpolationMessageBox(0, this.camMotion.GetFrames().Count - 1);
         if (interpolationMessageBox.ShowDialog() == DialogResult.OK)
         {
             this.camMotion.Interpolate(interpolationMessageBox.GetMinFrameIndex(), interpolationMessageBox.GetMaxFrameIndex(), interpolationMessageBox.GetSpeed());
             this.DisplayFrames();
         }
     }
 }