LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

VideoRenderMode

enumeration

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.