You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
484 B
C#
23 lines
484 B
C#
1 year ago
|
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);
|
||
|
}
|
||
|
}
|