Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

VideoRenderMode

enumeration

Description

Type of destination for the images read by a VideoPlayer.

Variables

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.