Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


reflectionProbeUsage

Should reflection probes be used for this Renderer?
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public ReflectionProbeUsage reflectionProbeUsage { get; set; }

Remarks

If enabled and reflection probes are present in the Scene, a reflection texture will be picked for this object and set as a built-in shader uniform variable. Surface shaders use this information automatically.