unreal.MovieSceneAudioSection¶
- class unreal.MovieSceneAudioSection(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MovieSceneSectionAudio section, for use in the audio track, 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.color_tint(Color): [Read-Write] The color tint for this sectioncondition_container(MovieSceneConditionContainer): [Read-Write] Optional dynamic condition for whether this section evaluates at runtime.easing(MovieSceneEasingSettings): [Read-Write]eval_options(MovieSceneSectionEvalOptions): [Read-Write]is_active(bool): [Read-Write] Toggle whether this section is active/inactiveis_locked(bool): [Read-Write] Toggle whether this section is locked/unlockedlooping(bool): [Read-Write] Allow looping if the section length is greater than the sound durationoverride_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 activesound(SoundBase): [Read-Write] The sound cue or wave that this section playsstart_frame_offset(FrameNumber): [Read-Write] The offset into the beginning of the audio clipsuppress_subtitles(bool): [Read-Write]timecode_source(MovieSceneTimecodeSource): [Read-Write] The timecode at which this movie scene section is based (ie. when it was recorded)
- get_attenuation_settings() SoundAttenuation¶
- Returns:
The attenuation settings
- Return type:
- get_looping() bool¶
- Returns:
Whether to allow looping if the section length is greater than the sound duration
- Return type:
- get_override_attenuation() bool¶
- Returns:
Whether override settings on this section should be used
- Return type:
- get_playback_sound() SoundBase¶
Gets the sound that this section should use for playback, taking into account localization concerns
- Return type:
- get_start_offset() FrameNumber¶
Get the offset into the beginning of the audio clip
- Return type:
- set_attenuation_settings(attenuation_settings) None¶
Set the attenuation settings for this audio section
- Parameters:
attenuation_settings (SoundAttenuation)
- set_override_attenuation(override_attenuation) None¶
Set whether the attentuation should be overriden
- Parameters:
override_attenuation (bool)
- set_start_offset(start_offset) None¶
Set the offset into the beginning of the audio clip
- Parameters:
start_offset (FrameNumber)