private static MatrixTransform3D AnimateMatrix(Matrix3D oldMatrix, Matrix3D newMatrix)
        {
            Matrix3DAnimation animationMatrix = new Matrix3DAnimation(oldMatrix, newMatrix, AnimationDuration)
            {
                AccelerationRatio = AnimationAccelerationRatio,
                DecelerationRatio = AnimationDecelerationRatio,
                FillBehavior      = FillBehavior.HoldEnd
            };

            MatrixTransform3D transform = new MatrixTransform3D(oldMatrix);

            transform.BeginAnimation(MatrixTransform3D.MatrixProperty, animationMatrix);

            return(transform);
        }