コード例 #1
0
ファイル: Note.cs プロジェクト: msp/virtual-gallery
        void CopySettingsToNative()
        {
            if (!HasNativeNote() || !HasNativeSequencer())
            {
                return;
            }

            Native.ChangeNoteValues(parent.Reference(), reference, note, start, end, velocity);
        }
コード例 #2
0
ファイル: Note.cs プロジェクト: wtrebella/MusicSquares
        void CopySettingsToNative()
        {
            if (!HasNativeNote() || !HasNativeSequencer())
            {
                return;
            }

            Native.ChangeNoteEnd(parent.Reference(), reference, end);
            Native.ChangeNoteStart(parent.Reference(), reference, start);
            Native.ChangeNoteKey(parent.Reference(), reference, note);
            Native.ChangeNoteVelocity(reference, velocity);
        }