unreal.MovieSceneTrackExtensions
¶
- class unreal.MovieSceneTrackExtensions(outer: Optional[Object] = None, name: Union[Name, str] = 'None')¶
Bases:
BlueprintFunctionLibrary
Function library containing methods that should be hoisted onto UMovieSceneTracks for scripting
C++ Source:
Plugin: SequencerScripting
Module: SequencerScripting
File: MovieSceneTrackExtensions.h
- classmethod add_section(track) MovieSceneSection ¶
Add a new section to this track
- Parameters:
track (MovieSceneTrack) – The track to use
- Returns:
The newly create section if successful
- Return type:
- classmethod get_color_tint(track) Color ¶
Get the color tint for this track
- Parameters:
track (MovieSceneTrack) – The track to get the color tint from
- Returns:
The color tint of the requested track
- Return type:
- classmethod get_display_name(track) Text ¶
Get this track’s display name
- Parameters:
track (MovieSceneTrack) – The track to use
- Returns:
This track’s display name
- Return type:
- classmethod get_section_to_key(track) MovieSceneSection ¶
Get the section to key for this track
- Parameters:
track (MovieSceneTrack) – The track to get the section to key for
- Returns:
The section to key for the requested track
- Return type:
- classmethod get_sections(track) Array[MovieSceneSection] ¶
Access all this track’s sections
- Parameters:
track (MovieSceneTrack) – The track to use
- Returns:
An array of this track’s sections
- Return type:
- classmethod get_sorting_order(track) int32 ¶
Get the sorting order for this track
- Parameters:
track (MovieSceneTrack) – The track to get the sorting order from
- Returns:
The sorting order of the requested track
- Return type:
int32
- classmethod get_track_row_display_name(track, row_index) Text ¶
Get this track row’s display name
- Parameters:
track (MovieSceneTrack) – The track to use
row_index (int32) – The row index for the track
- Returns:
This track’s display name
- Return type:
- classmethod remove_section(track, section) None ¶
Remove the specified section
- Parameters:
track (MovieSceneTrack) – The track to remove the section from, if present
section (MovieSceneSection) – The section to remove
- classmethod set_color_tint(track, color_tint) None ¶
Set the color tint for this track
- Parameters:
track (MovieSceneTrack) – The track to set the color tint for
color_tint (Color) – The color tint to set
- classmethod set_display_name(track, name) None ¶
Set this track’s display name
- Parameters:
track (MovieSceneTrack) – The track to use
name (Text) – The name for this track
- classmethod set_section_to_key(track, section) None ¶
Set the section to key for this track. When properties for this section are modified externally, this section will receive those modifications and act accordingly (add/update keys). This is especially useful when there are multiple overlapping sections.
- Parameters:
track (MovieSceneTrack) – The track to set the section to key for
section (MovieSceneSection) – The section to key for this track
- classmethod set_sorting_order(track, sorting_order) None ¶
Set the sorting order for this track
- Parameters:
track (MovieSceneTrack) – The track to get the sorting order from
sorting_order (int32) – The sorting order to set
- classmethod set_track_row_display_name(track, name, row_index) None ¶
Set this track row’s display name
- Parameters:
track (MovieSceneTrack) – The track to use
name (Text) – The name for this track
row_index (int32) – The row index for the track