// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Game.Rulesets.UI; using osuTK; namespace osu.Game.Rulesets.Edit { /// /// The result of a position/time snapping process. /// public class SnapResult { /// /// The screen space position, potentially altered for snapping. /// public Vector2 ScreenSpacePosition; /// /// The resultant time for snapping, if a value could be attained. /// public double? Time; public readonly Playfield Playfield; public SnapResult(Vector2 screenSpacePosition, double? time, Playfield playfield = null) { ScreenSpacePosition = screenSpacePosition; Time = time; Playfield = playfield; } } }