mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 08:03:52 +09:00
Add remarks back to LatestEventTime
This commit is contained in:
@ -40,6 +40,10 @@ namespace osu.Game.Storyboards
|
|||||||
/// Across all layers, find the latest point in time that a storyboard element ends at.
|
/// Across all layers, find the latest point in time that a storyboard element ends at.
|
||||||
/// Will return null if there are no elements.
|
/// Will return null if there are no elements.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This iterates all elements and as such should be used sparingly or stored locally.
|
||||||
|
/// Videos and samples return StartTime as their EndTIme.
|
||||||
|
/// </remarks>
|
||||||
public double? LatestEventTime => Layers.SelectMany(l => l.Elements.OfType<IStoryboardElementHasDuration>()).OrderByDescending(e => e.EndTime).FirstOrDefault()?.EndTime;
|
public double? LatestEventTime => Layers.SelectMany(l => l.Elements.OfType<IStoryboardElementHasDuration>()).OrderByDescending(e => e.EndTime).FirstOrDefault()?.EndTime;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Reference in New Issue
Block a user