AlphaTab.Rendering.Effects.HarmonicsEffectInfo.ShouldCreateGlyphForNote C# (CSharp) Method

ShouldCreateGlyphForNote() protected method

protected ShouldCreateGlyphForNote ( EffectBarRenderer renderer, Note note ) : bool
renderer EffectBarRenderer
note AlphaTab.Model.Note
return bool
        protected override bool ShouldCreateGlyphForNote(EffectBarRenderer renderer, Note note)
        {
            if (!note.IsHarmonic) return false;
            if (note.Beat != _beat || note.HarmonicType > _beatType)
            {
                _beat = note.Beat;
                _beatType = note.HarmonicType;
            }
            return true;
        }