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.

VideoPlayer.renderMode

public Video.VideoRenderMode renderMode;

Description

Where the video content will be drawn.

This gets automatically set to the most likely value when creating a VideoPlayer. For instance, adding a VideoPlayer on a Camera will result in the VideoPlayer initializing its target to be that Camera's background.