unreal.MovieSceneAudioSection

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

Bases: unreal.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] The attenuation settings to use.

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

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

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

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

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

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

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

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

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

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

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

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

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

get_sound()SoundBase

Gets the sound for this section

Returns

Return type

SoundBase

get_start_offset()FrameNumber

Get the offset into the beginning of the audio clip

Returns

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) –