unreal.MovieScenePrimitiveMaterialTrack

class unreal.MovieScenePrimitiveMaterialTrack(outer: Object | None = None, name: 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] The track’s human readable display name.

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

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

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

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

get_material_index() int32

Get Material Index deprecated: Use SetMaterialInfo instead

Return type:

int32

get_material_info() ComponentMaterialInfo

Get material info of the component that is animated by the material track. deprecated: Use SetMaterialInfo instead

Returns:

The material info.

Return type:

ComponentMaterialInfo

set_material_index(material_index) None

Set Material Index deprecated: Use SetMaterialInfo instead

Parameters:

material_index (int32) –

set_material_info(material_info) None

Set material info of the component that is animated by the material track.

Parameters:

material_info (ComponentMaterialInfo) – The desired material info to animate.