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.

Projector.material

Switch to Manual
public Material material;

Description

The material that will be projected onto every object.

Note that unlike Renderer.material, this returns a shared material reference and not a unique duplicate.

Projector does nothing if it has no material set up. The Standard Assets package contains an example of Projector's material in Blob-Shadow folder.

See Also: projector component, Material class.