コード例 #1
0
        public void copy()
        {
            MovementSequenceClipboardContainer clipContainer = new MovementSequenceClipboardContainer();

            clipContainer.addKeyFrames(timelineView.SelectedData);
            clipboard.copyToSourceObject(clipContainer);
        }
コード例 #2
0
        public void paste()
        {
            MovementSequenceClipboardContainer clipContainer = clipboard.createCopy <MovementSequenceClipboardContainer>();

            if (clipContainer != null)
            {
                clipContainer.addKeyFramesToSequence(movementSequence, this, timelineView.MarkerTime, timelineView.Duration);
            }
        }