unreal.MovieSceneTrackExtensions

class unreal.MovieSceneTrackExtensions(outer=None, name='None')

Bases: unreal.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

MovieSceneSection

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

Color

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

Text

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

MovieSceneSection

classmethod get_sections(track)

Access all this track’s sections

Parameters

track (MovieSceneTrack) – The track to use

Returns

An array of this track’s sections

Return type

Array(MovieSceneSection)

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 remove_section(track, section)None

Remove the specified section

Parameters
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
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
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