You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
502 B
21 lines
502 B
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); }
|
|
}
|
|
}
|
|
}
|
|
|