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 trackeval_options
(MovieSceneTrackEvalOptions): [Read-Write] General evaluation options for a given tracktrack_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
- get_color_tint() → Color¶
Get the color tint for this track
- Returns
The color tint of the requested track
- Return type
- get_display_name() → Text¶
Get this track’s display name
- Returns
This track’s display name
- Return type
- get_section_to_key() → MovieSceneSection¶
Get the section to key for this track
- Returns
The section to key for the requested track
- Return type
- get_sections()¶
Access all this track’s sections
- Returns
An array of this track’s sections
- Return type
- 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