Firstborn/Library/PackageCache/com.unity.timeline@1.7.1/Editor/treeview/Snapping/ISnappable.cs

23 lines
484 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
using System.Collections.Generic;
namespace UnityEditor.Timeline
{
struct Edge
{
public double time { get; set; }
public bool showSnapHint { get; set; }
public Edge(double edgeTime, bool snapHint = true) : this()
{
time = edgeTime;
showSnapHint = snapHint;
}
}
interface ISnappable
{
IEnumerable<Edge> SnappableEdgesFor(IAttractable attractable, ManipulateEdges manipulateEdges);
}
}