unreal.MovieScenePrimitiveMaterialTrackExtensions
¶
- class unreal.MovieScenePrimitiveMaterialTrackExtensions(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibrary
Function library containing methods that should be hoisted onto UMovieScenePrimitiveMaterialTrack for scripting
C++ Source:
Plugin: SequencerScripting
Module: SequencerScripting
File: MovieScenePrimitiveMaterialTrackExtensions.h
- classmethod get_material_index(track) int32 ¶
Get material index of the element that is animated by the primitive material track.
- Parameters:
track (MovieScenePrimitiveMaterialTrack) – The track to use
- Returns:
The material index.
- Return type:
int32
- classmethod set_material_index(track, material_index) None ¶
Set material index of the element that is animated by the primitive material track.
- Parameters:
track (MovieScenePrimitiveMaterialTrack) – The track to use
material_index (int32) – The desired material index to animate. Values of < 0 or >= NumMaterials will be silently ignored and evaluation will fail.