unreal.MediaBundle
¶
- class unreal.MediaBundle(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
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 sourceloop_media_source
(bool): [Read-Write] Controls MediaPlayer looping optionmedia_bundle_actor_class
(type(Class)): [Read-Write] Class to spawn for that asset.media_source
(MediaSource): [Read-Write] MediaBundle internal MediaSourcereference_count
(int32): [Read-Only] Internal reference counter of active media playerreopen_source_on_error
(bool): [Read-Write] Automatically try to open the MediaSource again if an error is detectedundistorted_camera_view_info
(OpenCVCameraViewInfo): [Read-Only] CameraView information for the undistorted space
- get_lens_displacement_texture() TextureRenderTarget2D ¶
Get the lens displacement Render Target.
- Return type:
- get_material() MaterialInterface ¶
Get the material interface.
- Return type:
- get_media_player() MediaPlayer ¶
Get the media player.
- Return type:
- get_media_source() MediaSource ¶
Get the media source.
- Return type:
- get_media_texture() MediaTexture ¶
Get the media texture.
- Return type:
- get_undistorted_camera_view_info() OpenCVCameraViewInfo ¶
Get the undistorted space camera view information.
- Return type: