UMovieScenePrimitiveMaterialTrackExtensions::SetMaterialIndex

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