Version: 2021.1
LanguageEnglish
  • C#

VideoRenderMode

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Type of destination for the images read by a VideoPlayer.

Properties

CameraFarPlaneDraw video content behind a camera's Scene.
CameraNearPlaneDraw video content in front of a camera's Scene.
RenderTextureDraw video content into a RenderTexture.
MaterialOverrideDraw the video content into a user-specified property of the current GameObject's material.
APIOnlyDon't draw the video content anywhere, but still make it available via the VideoPlayer's texture property in the API.