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

Script language

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

VideoPlayer.targetMaterialProperty

public string targetMaterialProperty;

Description

Material texture property which is targeted when VideoPlayer.renderMode is set to Video.VideoTarget.MaterialOverride.

The video is sent to every Material in the Renderer that has the targeted texture property.

Did you find this page useful? Please give it a rating: