Axiom.Animating.AnimationTrack.RemoveKeyFrame C# (CSharp) Method

RemoveKeyFrame() public method

Removes the keyframe at the specified index.
public RemoveKeyFrame ( int index ) : void
index int Index of the keyframe to remove from this track.
return void
		public void RemoveKeyFrame( int index )
		{
			Debug.Assert( index < keyFrameList.Count, "Index out of bounds when removing a key frame." );

			keyFrameList.RemoveAt( index );

			// ensure a spline rebuild takes place
			OnKeyFrameDataChanged();
		}