ZMWSLI0-SL2021-GR11/Projekt/MWSProjekt/Library/PackageCache/com.unity.timeline@1.5.4/Runtime/Evaluation/RuntimeClipBase.cs

22 lines
502 B
C#
Raw Normal View History

2021-07-05 21:20:56 +02:00
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); }
}
}
}