public void ResetData() { for (var i = 0; i < data.Length; i++) { data[i] = 0.0f; } changed = true; }