// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Graphics.Animations { /// /// Represents all data necessary to describe a single frame of an . /// /// The type of animation the frame data is for. public struct FrameData { /// /// The contents to display for the frame. /// public T Content { get; set; } /// /// The duration to display the frame for. /// public double Duration { get; set; } /// /// The time at which this frame is displayed in the containing animation. /// internal double DisplayStartTime { get; set; } /// /// The time at which this frame is no longer displayed. /// internal double DisplayEndTime => DisplayStartTime + Duration; } }