//----------------------------------------------------------------------------------------------------------------------
        private static SISPlayableFrame CreatePlayableFrame(PlayableFrameClipData owner, int index, double timePerFrame)
        {
            SISPlayableFrame playableFrame = new SISPlayableFrame(owner);

            playableFrame.SetIndexAndLocalTime(index, timePerFrame * index);
            return(playableFrame);
        }
        protected PlayableFrameClipData(TimelineClip owner, PlayableFrameClipData other) : this(owner){
            Assert.IsNotNull(m_playableFrames);

            foreach (SISPlayableFrame otherFrame in other.m_playableFrames)
            {
                SISPlayableFrame newFrame = new SISPlayableFrame(this, otherFrame);
                m_playableFrames.Add(newFrame);
            }

            m_frameMarkersRequested = other.m_frameMarkersRequested;
        }
        internal void RefreshPlayableFrames()
        {
            PlayableFrameClipData clipData = GetBoundClipData();

            clipData?.RefreshPlayableFrames(); //Null check. the data might not have been bound during recompile
        }
Exemplo n.º 4
0
//----------------------------------------------------------------------------------------------------------------------
        internal void        SetOwner(PlayableFrameClipData owner)
        {
            m_clipDataOwner = owner;
        }
Exemplo n.º 5
0
 internal SISPlayableFrame(PlayableFrameClipData owner, SISPlayableFrame otherFrame)
 {
     m_clipDataOwner  = owner;
     m_boolProperties = otherFrame.m_boolProperties;
     m_localTime      = otherFrame.m_localTime;
 }
Exemplo n.º 6
0
 internal SISPlayableFrame(PlayableFrameClipData owner)
 {
     m_clipDataOwner  = owner;
     m_boolProperties = new Dictionary <PlayableFramePropertyID, PlayableFrameBoolProperty>();
 }