unreal.MovieScenePrimitiveMaterialTrack

class unreal.MovieScenePrimitiveMaterialTrack(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: MovieScenePropertyTrack

Movie Scene Primitive Material Track

C++ Source:

  • Module: MovieSceneTracks

  • File: MovieScenePrimitiveMaterialTrack.h

Editor Properties: (see get_editor_property/set_editor_property)

  • display_name (Text): [Read-Write] Display Name: The track’s human readable display name.

  • display_options (MovieSceneTrackDisplayOptions): [Read-Write] Display Options: General display options for a given track

  • eval_options (MovieSceneTrackEvalOptions): [Read-Write] Eval Options: General evaluation options for a given track

  • track_row_display_names (Array[Text]): [Read-Write] Track Row Display Names: The track display name per row.

  • track_tint (Color): [Read-Write] Track Tint: This track’s tint color

get_material_index() int32

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

Returns:

The material index.

Return type:

int32

set_material_index(material_index) None

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

Parameters:

material_index (int32) – The desired material index to animate. Values of < 0 or >= NumMaterials will be silently ignored and evaluation will fail.