material
The material that will be projected onto every object.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Material material { get; set; }
Remarks
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.
Additional Resources: projector component, Material class.