unreal.RenderTargetMediaOutput¶
- class unreal.RenderTargetMediaOutput(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MediaOutputCaptures Media to a Render Target. This can be useful to make a texture available from a source that has a Media output interface.
C++ Source:
Plugin: MediaIOFramework
Module: MediaIOCore
File: RenderTargetMediaOutput.h
Editor Properties: (see get_editor_property/set_editor_property)
invert_alpha(bool): [Read-Write] Invert the alpha channelnumber_of_texture_buffers(int32): [Read-Write] Number of texture used to transfer the texture from the GPU to the system memory. A smaller number is most likely to block the GPU (wait for the transfer to complete). A bigger number is most likely to increase latency. note: Some Capture are not are executed on the GPU. If it’s the case then no buffer will be needed and no buffer will be created.render_target(TextureRenderTarget2D): [Read-Write] Specify the render target to be capturing to.
- property render_target: TextureRenderTarget2D¶
[Read-Write] Specify the render target to be capturing to.
- Type: