UMovieScenePrimitiveMaterialTrackExtensions::GetMaterialIndex

Get material index of the element that is animated by the primitive material track.