unreal.MovieSceneTrack

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

Bases: unreal.MovieSceneSignedObject

Base class for a track in a Movie Scene

C++ Source:

  • Module: MovieScene

  • File: MovieSceneTrack.h

Editor Properties: (see get_editor_property/set_editor_property)

  • 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_tint (Color): [Read-Write] This track’s tint color

add_section()MovieSceneSection

Add a new section to this track

Returns

The newly create section if successful

Return type

MovieSceneSection

get_color_tint()Color

Get the color tint for this track

Returns

The color tint of the requested track

Return type

Color

get_display_name()Text

Get this track’s display name

Returns

This track’s display name

Return type

Text

get_section_to_key()MovieSceneSection

Get the section to key for this track

Returns

The section to key for the requested track

Return type

MovieSceneSection

get_sections()

Access all this track’s sections

Returns

An array of this track’s sections

Return type

Array(MovieSceneSection)

get_sorting_order()int32

Get the sorting order for this track

Returns

The sorting order of the requested track

Return type

int32

remove_section(section)None

Remove the specified section

Parameters

section (MovieSceneSection) – The section to remove

set_color_tint(color_tint)None

Set the color tint for this track

Parameters

color_tint (Color) – The color tint to set

set_display_name(name)None

Set this track’s display name

Parameters

name (Text) – The name for this track

set_section_to_key(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

section (MovieSceneSection) – The section to key for this track

set_sorting_order(sorting_order)None

Set the sorting order for this track

Parameters

sorting_order (int32) – The sorting order to set