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_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 get the color tint from

  • color_tint (Color) – The color tint to set

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