Actions
Capture Active Scene Viewport |
Stop the current capture if there is one. Then find and capture every frame from active SceneViewport. It can only find a SceneViewport when you play in Standalone or in "New Editor Window PIE". If the active SceneViewport is destroyed, the capture will stop. The SceneViewport needs to be of the same size and have the same pixel format as requested by the media output. Target is Media Capture |
Capture Texture Render Target 2D |
Stop the actual capture if there is one. Then capture every frame for a TextureRenderTarget2D. The TextureRenderTarget2D needs to be of the same size and have the same pixel format as requested by the media output. Target is Media Capture |
Create Media Capture |
Creates the specific implementation of the MediaCapture for the MediaOutput. Target is Media Output |
Get Desired Pixel Format |
Get the desired pixel format of the current capture. Target is Media Capture |
Get Desired Size |
Get the desired size of the current capture. Target is Media Capture |
Get State |
Get the current state of the capture. Target is Media Capture |
On State Changed |
Called when the state of the capture changed. |
Set Media Output |
Set the media output. Can only be set when the capture is stopped. Target is Media Capture |
Stop Capture |
Stop the previous requested capture. Target is Media Capture |
Update Texture Render Target 2D |
Update the current capture with every frame for a TextureRenderTarget2D. The TextureRenderTarget2D needs to be of the same size and have the same pixel format as requested by the media output. Target is Media Capture |
Validate |
Validate the media output settings (must be implemented in child classes). Target is Media Output |