Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/TimeView/TimeViewPlugin.cpp
TimeTrack* TimeViewPlugin::GetTrackAt(int32 y)
    {
        // for all tracks
        const auto foundTrack = AZStd::find_if(begin(m_tracks), end(m_tracks), [y](const TimeTrack* track)
        {
            return track->GetIsInside(y);
        });
        return foundTrack != end(m_tracks) ? *foundTrack : nullptr;
    }
// return the track at a given pixel y value, or nullptr
return the track at a given pixel y value, or nullptr
return the track at a given pixel y value or nullptr
TimeTrack* TimeViewPlugin::GetTrackAt(int32 y)
    {
        const auto foundTrack = AZStd::find_if(begin(m_tracks), end(m_tracks), [y](const TimeTrack* track)
        {
            return track->GetIsInside(y);
        });
        return foundTrack != end(m_tracks) ? *foundTrack : nullptr;
    }
TimeTrack * TimeViewPlugin :: GetTrackAt ( int32 y ) { const auto foundTrack = AZStd :: find_if ( begin ( m_tracks ) , end ( m_tracks ) , [ y ] ( const TimeTrack * track ) { return track -> GetIsInside ( y ) ; } ) ; return foundTrack != end ( m_tracks ) ? * foundTrack : nullptr ; }
return the track at a given pixel y value, or nullptr
return the track at a given pixel y value or nullptr
// for all tracks