stores information about dragging clips around video or audio
示例#1
0
        public VidkaUiStateObjects()
        {
            EmptyCollection_ClipsVideo = new VidkaClipVideoAbstract[] { };
            EmptyCollection_ClipsAudio = new VidkaClipAudio[] { };
            ArrayOfOne_ClipsVideo      = new VidkaClipVideoAbstract[] { null };
            ArrayOfOne_ClipsAudio      = new VidkaClipAudio[] { null };

            // all the above should be null by default... but what the hell
            TimelineHover          = ProjectDimensionsTimelineType.None;
            CurrentVideoClip       = null;
            CurrentAudioClip       = null;
            CurrentVideoClipHover  = null;
            CurrentAudioClipHover  = null;
            TrimHover              = TrimDirection.None;
            ShowEasingHandles      = false;
            ShowVideoAudioLinkage  = false;
            CurrentMarkerFrame     = 0;
            MouseDragFrameDelta    = 0;
            MouseDragFrameDeltaMTO = false;
            Draggy = new EditorDraggy();
        }
        public VidkaUiStateObjects()
        {
            EmptyCollection_ClipsVideo = new VidkaClipVideoAbstract[] { };
            EmptyCollection_ClipsAudio = new VidkaClipAudio[] { };
            ArrayOfOne_ClipsVideo = new VidkaClipVideoAbstract[] { null };
            ArrayOfOne_ClipsAudio = new VidkaClipAudio[] { null };

            // all the above should be null by default... but what the hell
            TimelineHover = ProjectDimensionsTimelineType.None;
            CurrentVideoClip = null;
            CurrentAudioClip = null;
            CurrentVideoClipHover = null;
            CurrentAudioClipHover = null;
            TrimHover = TrimDirection.None;
            ShowEasingHandles = false;
            ShowVideoAudioLinkage = false;
            CurrentMarkerFrame = 0;
            MouseDragFrameDelta = 0;
            MouseDragFrameDeltaMTO = false;
            Draggy = new EditorDraggy();
        }