unreal.LevelSequenceEditorBlueprintLibrary

class unreal.LevelSequenceEditorBlueprintLibrary(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: BlueprintFunctionLibrary

Level Sequence Editor Blueprint Library

C++ Source:

  • Plugin: LevelSequenceEditor

  • Module: LevelSequenceEditor

  • File: LevelSequenceEditorBlueprintLibrary.h

classmethod close_level_sequence() None
  • Close

classmethod delete_color_for_channels(class_) str

Delete for specified channel idendified by it’s class and identifier.

Parameters:

class (type(Class)) –

Returns:

identifier (str):

Return type:

str

classmethod empty_selection() None

Empties the current selection.

classmethod focus_level_sequence(sub_section) None
  • Focus/view the sequence associated to the given sub sequence section.

Parameters:

sub_section (MovieSceneSubSection) –

classmethod focus_parent_sequence() None
  • Focus/view the parent sequence, popping out of the current sub sequence section.

classmethod get_bound_objects(object_binding) Array[Object]

Get the object bound to the given binding ID with the current level sequence editor

Parameters:

object_binding (MovieSceneObjectBindingID) –

Return type:

Array[Object]

classmethod get_current_level_sequence() LevelSequence
  • Get the currently opened root/master level sequence asset

Return type:

LevelSequence

classmethod get_current_local_time() int32

Get the current local playback position in frames

Return type:

int32

classmethod get_current_time() int32

Get the current global playback position in frames

Return type:

int32

classmethod get_custom_color_for_channel(class_, identifier) LinearColor

Get custom color for specified channel idendified by it’s class and identifier,if none exists will return white

Parameters:
Return type:

LinearColor

classmethod get_focused_level_sequence() LevelSequence
  • Get the currently focused/viewed level sequence asset if there is a hierarchy of sequences.

Return type:

LevelSequence

classmethod get_selected_bindings() Array[MovieSceneBindingProxy]

Gets the currently selected object bindings

Return type:

Array[MovieSceneBindingProxy]

classmethod get_selected_channels() Array[SequencerChannelProxy]

Gets the currently selected channels.

Return type:

Array[SequencerChannelProxy]

classmethod get_selected_folders() Array[MovieSceneFolder]

Gets the currently selected folders.

Return type:

Array[MovieSceneFolder]

classmethod get_selected_objects() Array[Guid]

Get Selected Objects deprecated: GetSelectedObjects is deprecated, please use GetSelectedBindings which returns an array of FMovieSceneBindingProxy

Return type:

Array[Guid]

classmethod get_selected_sections() Array[MovieSceneSection]

Gets the currently selected sections.

Return type:

Array[MovieSceneSection]

classmethod get_selected_tracks() Array[MovieSceneTrack]

Gets the currently selected tracks.

Return type:

Array[MovieSceneTrack]

classmethod get_selection_range_end() int32

Get the selection range end frame.

Return type:

int32

classmethod get_selection_range_start() int32

Get the selection range start frame.

Return type:

int32

classmethod get_sub_sequence_hierarchy() Array[MovieSceneSubSection]
  • Get the current sub section hierarchy from the current sequence to the section associated with the focused sequence.

Return type:

Array[MovieSceneSubSection]

classmethod get_track_filter_names() Array[Text]

Gets all the available track filter names

Return type:

Array[Text]

classmethod has_custom_color_for_channel(class_, identifier) bool

Get if a custom color for specified channel idendified by it’s class and identifier exists

Parameters:
Return type:

bool

classmethod is_camera_cut_locked_to_viewport() bool

Check whether the lock for the viewport to the camera cuts is enabled.

Return type:

bool

classmethod is_level_sequence_locked() bool

Check whether the current level sequence and its descendants are locked for editing.

Return type:

bool

classmethod is_playing() bool

Check whether the sequence is actively playing.

Return type:

bool

classmethod is_track_filter_enabled(track_filter_name) bool

Gets whether the specified track filter is on/off

Parameters:

track_filter_name (Text) –

Return type:

bool

classmethod open_level_sequence(level_sequence) bool
  • Open a level sequence asset

Parameters:

level_sequence (LevelSequence) –

Return type:

bool

classmethod pause() None

Pause the current level sequence

classmethod play() None

Play the current level sequence

classmethod play_to(playback_params) None

Play from the current time to the requested time in frames

Parameters:

playback_params (MovieSceneSequencePlaybackParams) –

classmethod refresh_current_level_sequence() None

Refresh Sequencer UI.

classmethod select_bindings(object_bindings) None

Select bindings

Parameters:

object_bindings (Array[MovieSceneBindingProxy]) –

classmethod select_channels(channels) None

Select channels

Parameters:

channels (Array[SequencerChannelProxy]) –

classmethod select_folders(folders) None

Select folders

Parameters:

folders (Array[MovieSceneFolder]) –

classmethod select_objects(object_binding) None

Select Objects deprecated: SelectObjects is deprecated, please use SelectBindings which takes an FMovieSceneBindingProxy

Parameters:

object_binding (Array[Guid]) –

classmethod select_sections(sections) None

Select sections

Parameters:

sections (Array[MovieSceneSection]) –

classmethod select_tracks(tracks) None

Select tracks

Parameters:

tracks (Array[MovieSceneTrack]) –

classmethod set_current_local_time(new_frame) None

Set local playback position for the current level sequence in frames

Parameters:

new_frame (int32) –

classmethod set_current_time(new_frame) None

Set global playback position for the current level sequence in frames

Parameters:

new_frame (int32) –

classmethod set_custom_color_for_channel(class_, identifier, new_color) None

Set Custom Color for specified channel idendified by it’s class and identifier. This will be stored in editor user preferences.

Parameters:
classmethod set_custom_color_for_channels(class_, identifiers, new_colors) None

Set Custom Color for specified channels idendified by it’s class and identifiers. This will be stored in editor user preferences.

Parameters:
classmethod set_lock_camera_cut_to_viewport(lock) None

Sets the lock for the viewport to the camera cuts.

Parameters:

lock (bool) –

classmethod set_lock_level_sequence(lock) None

Sets the lock for the current level sequence and its descendants for editing.

Parameters:

lock (bool) –

classmethod set_random_color_for_channels(class_, identifiers) None

Set Random Colors for specified channels idendified by it’s class and identifiers. This will be stored in editor user preferences.

Parameters:
classmethod set_selection_range_end(new_frame) None

Set the selection range end frame.

Parameters:

new_frame (int32) –

classmethod set_selection_range_start(new_frame) None

Set the selection range start frame.

Parameters:

new_frame (int32) –

classmethod set_track_filter_enabled(track_filter_name, enabled) None

Sets the specified track filter to be on or off

Parameters:
  • track_filter_name (Text) –

  • enabled (bool) –