unreal.MediaBundle

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

Bases: unreal.Object

A bundle of the Media Asset necessary to play a video & audio

C++ Source:

  • Plugin: MediaFrameworkUtilities

  • Module: MediaFrameworkUtilities

  • File: MediaBundle.h

Editor Properties: (see get_editor_property/set_editor_property)

  • lens_parameters (OpenCVLensDistortionParameters): [Read-Write] Lens parameters of the source

  • loop_media_source (bool): [Read-Write] Controls MediaPlayer looping option

  • media_bundle_actor_class (type(Class)): [Read-Write] Class to spawn for that asset.

  • media_source (MediaSource): [Read-Write] MediaBundle internal MediaSource

  • reference_count (int32): [Read-Only] Internal reference counter of active media player

  • reopen_source_on_error (bool): [Read-Write] Automatically try to open the MediaSource again if an error is detected

  • undistorted_camera_view_info (OpenCVCameraViewInfo): [Read-Only] CameraView information for the undistorted space

get_lens_displacement_texture()TextureRenderTarget2D

Get the lens displacement Render Target.

Returns

Return type

TextureRenderTarget2D

get_material()MaterialInterface

Get the material interface.

Returns

Return type

MaterialInterface

get_media_player()MediaPlayer

Get the media player.

Returns

Return type

MediaPlayer

get_media_source()MediaSource

Get the media source.

Returns

Return type

MediaSource

get_media_texture()MediaTexture

Get the media texture.

Returns

Return type

MediaTexture

get_undistorted_camera_view_info()OpenCVCameraViewInfo

Get the undistorted space camera view information.

Returns

Return type

OpenCVCameraViewInfo