unreal.MovieSceneMediaSection
¶
- class unreal.MovieSceneMediaSection(outer: Object | None = None, name: 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] Override the default cache settings. Not used if we have a player proxy as the settings come from the proxy instead.color_tint
(Color): [Read-Write] The color tint for this sectioneasing
(MovieSceneEasingSettings): [Read-Write]eval_options
(MovieSceneSectionEvalOptions): [Read-Write]external_media_player
(MediaPlayer): [Read-Write] The external media player this track should control.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] 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] The media sound component that receives the track’s audio output.media_source
(MediaSource): [Read-Write] The source to play with this video track if MediaSourceProxy is not available.media_source_proxy_binding_id
(MovieSceneObjectBindingID): [Read-Write] The object to get the source to play from if you don’t want to directly specify a media source.media_source_proxy_index
(int32): [Read-Write] The index to pass to MediaSourceProxy to get the media source.media_texture
(MediaTexture): [Read-Write] The media texture that receives the track’s video output.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 activestart_frame_offset
(FrameNumber): [Read-Write] Offset into the source media.texture_index
(int32): [Read-Write] If using an object like a MediaPlate, then this determines which texture to use for crossfading purposes.timecode_source
(MovieSceneTimecodeSource): [Read-Write] The timecode at which this movie scene section is based (ie. when it was recorded)use_external_media_player
(bool): [Read-Write] If true, this track will control a previously created media player instead of automatically creating one.
- property cache_settings: MediaSourceCacheSettings¶
[Read-Write] Override the default cache settings. Not used if we have a player proxy as the settings come from the proxy instead.
- Type:
- property external_media_player: MediaPlayer¶
[Read-Write] The external media player this track should control.
- Type:
- property looping: bool¶
[Read-Write] 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] The media sound component that receives the track’s audio output.
- Type:
- property media_source: MediaSource¶
[Read-Write] The source to play with this video track if MediaSourceProxy is not available.
- Type:
- property media_source_proxy_index: int¶
[Read-Write] The index to pass to MediaSourceProxy to get the media source.
- Type:
(int32)
- property media_texture: MediaTexture¶
[Read-Write] The media texture that receives the track’s video output.
- Type:
- property start_frame_offset: FrameNumber¶
[Read-Write] Offset into the source media.
- Type: