unreal.MovieSceneMediaSection

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

Bases: MovieSceneSection

Implements a movie scene section for media playback.

C++ Source:

  • Plugin: MediaCompositing

  • Module: MediaCompositing

  • File: MovieSceneMediaSection.h

Editor Properties: (see get_editor_property/set_editor_property)

  • cache_settings (MediaSourceCacheSettings): [Read-Write] Cache Settings: Override the default cache settings. Not used if we have a player proxy as the settings come from the proxy instead.

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

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

  • external_media_player (MediaPlayer): [Read-Write] External Media Player: The external media player this track should control.

  • 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: Should the media player be set to loop? This can be helpful for media formats that can use this information (such as exr sequences) to pre-cache the starting data when nearing the end of playback. Does not cause the media to continue playing after the end of the section is reached.

  • media_sound_component (MediaSoundComponent): [Read-Write] Media Sound Component: The media sound component that receives the track’s audio output.

  • media_source (MediaSource): [Read-Write] Media Source: The source to play with this video track.

  • media_texture (MediaTexture): [Read-Write] Media Texture: The media texture that receives the track’s video output.

  • 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

  • start_frame_offset (FrameNumber): [Read-Write] Start Frame Offset: Offset into the source media.

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

  • use_external_media_player (bool): [Read-Write] Use External Media Player: If true, this track will control a previously created media player instead of automatically creating one.

property cache_settings: MediaSourceCacheSettings

[Read-Write] Cache Settings: Override the default cache settings. Not used if we have a player proxy as the settings come from the proxy instead.

Type:

(MediaSourceCacheSettings)

property external_media_player: MediaPlayer

[Read-Write] External Media Player: The external media player this track should control.

Type:

(MediaPlayer)

property looping: bool

[Read-Write] Looping: Should the media player be set to loop? This can be helpful for media formats that can use this information (such as exr sequences) to pre-cache the starting data when nearing the end of playback. Does not cause the media to continue playing after the end of the section is reached.

Type:

(bool)

property media_sound_component: MediaSoundComponent

[Read-Write] Media Sound Component: The media sound component that receives the track’s audio output.

Type:

(MediaSoundComponent)

property media_source: MediaSource

[Read-Write] Media Source: The source to play with this video track.

Type:

(MediaSource)

property media_texture: MediaTexture

[Read-Write] Media Texture: The media texture that receives the track’s video output.

Type:

(MediaTexture)

property start_frame_offset: FrameNumber

[Read-Write] Start Frame Offset: Offset into the source media.

Type:

(FrameNumber)

property use_external_media_player: bool

[Read-Write] Use External Media Player: If true, this track will control a previously created media player instead of automatically creating one.

Type:

(bool)