unreal.LevelSequencePlaybackController
¶
- class unreal.LevelSequencePlaybackController(outer=None, name='None')¶
Bases:
unreal.Object
Level Sequence Playback Controller
C++ Source:
Plugin: VirtualCamera
Module: VirtualCamera
File: LevelSequencePlaybackController.h
- clear_active_level_sequence() → None¶
Clears the current level sequence player, needed when recording clean takes of something.
- get_active_level_sequence() → LevelSequence¶
- Returns
the currently selected LevelSequence
- Return type
- get_active_level_sequence_name() → str¶
- Returns
the name of the currently selected sequence; returns empty string if no selected sequence
- Return type
- get_current_sequence_duration() → FrameNumber¶
- Returns
the duration of the sequence in FrameNumber
- Return type
- get_current_sequence_frame_rate() → FrameRate¶
- Returns
the FrameRate of the currently loaded sequence FrameRate
- Return type
- get_current_sequence_playback_end() → FrameNumber¶
- Returns
The FrameNumber of the sequence’s end.
- Return type
- get_current_sequence_playback_position() → FrameTime¶
- Returns
the current FrameTime of the sequence playback.
- Return type
- get_current_sequence_playback_start() → FrameNumber¶
- Returns
The FrameNumber of the sequence’s start.
- Return type
- get_current_sequence_playback_timecode() → Timecode¶
- Returns
The current Timecode of the sequence playback.
- Return type
- get_level_sequences()¶
Returns the names of each level sequence actor that is present in the level.
- Returns
out_level_sequence_names (Array(LevelSequenceData)):
- Return type
- is_sequence_playback_active() → bool¶
- Returns
true if a valid LevelSequence is being played.
- Return type
- is_sequencer_locked_to_camera_cut() → bool¶
- Returns
true if the active Sequencer is locked to camera cut
- Return type
- jump_to_playback_position(frame_number) → None¶
Moves the current sequence to a desired playback position
- Parameters
frame_number (FrameNumber) –
- set_active_level_sequence(new_level_sequence) → bool¶
Changes the active level sequence to a new level sequence.
- Parameters
new_level_sequence (LevelSequence) – The LevelSequence to select
- Returns
true if a valid LevelSequence was passed and sequencer was successfully found.
- Return type