Esempio n. 1
0
 // this represents all 6 keyframes to be moved
 public void moveKeyframe()
 {
     animTrack.MoveKeyFrameUI(keyframeXindex, keyframeTime, AnimationCurveToUpdate.x);
     animTrack.MoveKeyFrameUI(keyframeYindex, keyframeTime, AnimationCurveToUpdate.y);
     animTrack.MoveKeyFrameUI(keyframeZindex, keyframeTime, AnimationCurveToUpdate.z);
     animTrack.MoveKeyFrameUI(keyframeRotateXindex, keyframeTime, AnimationCurveToUpdate.rotationX);
     animTrack.MoveKeyFrameUI(keyframeRotateYindex, keyframeTime, AnimationCurveToUpdate.rotationY);
     animTrack.MoveKeyFrameUI(keyframeRotateZindex, keyframeTime, AnimationCurveToUpdate.rotationZ);
 }