File size: 502 Bytes
18a519f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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); }
        }
    }
}