UMovieSceneMaterialTrackExtensions::GetMaterialIndex

Get material index of the component that is animated by the material track.