示例#1
0
        private void OnAddTrackItem(Type track)
        {
            TrackModel       trackModel   = ReflectionHelper.CreateInstance(track) as TrackModel;
            BaseSequenceView sequenceView = window.GetPartialView <BaseSequenceView>();

            sequenceView.AddTrack(trackModel);
        }
示例#2
0
        public string GetTimelineName()
        {
            BaseSequenceView sequenceView = window.GetPartialView <BaseSequenceView>();

            if (sequenceView == null)
            {
                return("");
            }
            return(sequenceView.Timeline.Name);
        }