示例#1
0
        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);
        }