예제 #1
0
//----------------------------------------------------------------------------------------------------------------------

        /// <summary>
        /// Get the currently active PlayableAsset in the track according to the PlayableDirector's time
        /// </summary>
        /// <returns>The TimelineClip's asset as StreamingImageSequencePlayableAsset. Returns null if there is no active
        /// PlayableAsset.
        /// </returns>
        internal StreamingImageSequencePlayableAsset GetActivePlayableAsset()
        {
            double time = (null != m_trackMixer) ? m_trackMixer.GetDirectorTime() : 0;

            StreamingImageSequencePlayableMixer.GetActiveTimelineClipInto(m_Clips, time,
                                                                          out TimelineClip clip, out StreamingImageSequencePlayableAsset asset
                                                                          );
            return(asset);
        }
예제 #2
0
 public SISPlayableMixerEditorUpdateTask(StreamingImageSequencePlayableMixer mixer) : base()
 {
     m_mixer = mixer;
 }