unreal.MovieSceneAudioSection

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

Bases: MovieSceneSection

Audio section, for use in the master audio, or by attached audio objects

C++ Source:

  • Module: MovieSceneTracks

  • File: MovieSceneAudioSection.h

Editor Properties: (see get_editor_property/set_editor_property)

  • attenuation_settings (SoundAttenuation): [Read-Write] Attenuation Settings: The attenuation settings to use.

  • easing (MovieSceneEasingSettings): [Read-Write] Easing

  • eval_options (MovieSceneSectionEvalOptions): [Read-Write] Eval Options

  • is_active (bool): [Read-Write] Is Active: Toggle whether this section is active/inactive

  • is_locked (bool): [Read-Write] Is Locked: Toggle whether this section is locked/unlocked

  • looping (bool): [Read-Write] Looping: Allow looping if the section length is greater than the sound duration

  • override_attenuation (bool): [Read-Write] Override Attenuation: Should the attenuation settings on this section be used.

  • post_roll_frames (FrameNumber): [Read-Write] Post Roll Frames: The amount of time to continue ‘postrolling’ this section for after evaluation has ended.

  • pre_roll_frames (FrameNumber): [Read-Write] Pre Roll Frames: The amount of time to prepare this section for evaluation before it actually starts.

  • section_range (MovieSceneFrameRange): [Read-Write] Section Range: The range in which this section is active

  • sound (SoundBase): [Read-Write] Sound: The sound cue or wave that this section plays

  • start_frame_offset (FrameNumber): [Read-Write] Start Frame Offset: The offset into the beginning of the audio clip

  • suppress_subtitles (bool): [Read-Write] Suppress Subtitles

  • timecode_source (MovieSceneTimecodeSource): [Read-Write] Timecode Source: The timecode at which this movie scene section is based (ie. when it was recorded)

get_sound() SoundBase

Gets the sound for this section

Return type:

SoundBase

get_start_offset() FrameNumber

Get the offset into the beginning of the audio clip

Return type:

FrameNumber

set_sound(sound) None

Sets this section’s sound

Parameters:

sound (SoundBase) –

set_start_offset(start_offset) None

Set the offset into the beginning of the audio clip

Parameters:

start_offset (FrameNumber) –