unreal.MovieSceneComponentMaterialTrack¶
- class unreal.MovieSceneComponentMaterialTrack(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MovieSceneMaterialTrackA material track which is specialized for animation materials which are owned by actor components.
C++ Source:
Module: MovieSceneTracks
File: MovieSceneMaterialTrack.h
Editor Properties: (see get_editor_property/set_editor_property)
condition_container(MovieSceneConditionContainer): [Read-Write] Optional dynamic condition for whether this track/any of the sections on this track evaluates at runtime.display_name(Text): [Read-Write] The track’s human readable display name.display_options(MovieSceneTrackDisplayOptions): [Read-Write] General display options for a given trackeval_options(MovieSceneTrackEvalOptions): [Read-Write] General evaluation options for a given trackmaterial_index(int32): [Read-Write] The index of this material this track is animating. Has been deprecated in favor of MaterialInfo deprecated: Use MaterialInfo instead.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:
- property material_index: int¶
[Read-Write] The index of this material this track is animating. Has been deprecated in favor of MaterialInfo deprecated: Use MaterialInfo instead.
- Type:
(int32)
- 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.