public override void UpdateCurrentFrame(int frame) { var data = CsvData.FirstOrDefault(d => d.FrameNumber == frame); if (data == null) { return; } Translation = data.Translation; Rotation = data.Rotation; }