mathe/Library/PackageCache/com.unity.timeline@1.7.5/Editor/Manipulators/Trim/ITrimItemMode.cs

24 lines
497 B
C#
Raw Normal View History

2024-09-20 20:30:10 +02:00
using UnityEngine;
namespace UnityEditor.Timeline
{
enum TrimEdge
{
Start,
End
}
interface ITrimItemMode
{
void OnBeforeTrim(ITrimmable item, TrimEdge trimDirection);
void TrimStart(ITrimmable item, double time, bool affectTimeScale);
void TrimEnd(ITrimmable item, double time, bool affectTimeScale);
}
interface ITrimItemDrawer
{
void DrawGUI(WindowState state, Rect bounds, Color color, TrimEdge edge);
}
}