SW-Wiktor-Bombola/SW-Unity/Library/PackageCache/com.unity.timeline@1.2.18/Runtime/Evaluation/RuntimeClipBase.cs
2021-12-04 15:15:29 +01:00

22 lines
502 B
C#

using System;
using UnityEngine;
namespace UnityEngine.Timeline
{
internal abstract class RuntimeClipBase : RuntimeElement
{
public abstract double start { get; }
public abstract double duration { get; }
public override Int64 intervalStart
{
get { return DiscreteTime.GetNearestTick(start); }
}
public override Int64 intervalEnd
{
get { return DiscreteTime.GetNearestTick(start + duration); }
}
}
}