Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


reflectionProbeUsage

How reflection probes are used for terrain. See ReflectionProbeUsage.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

If enabled and reflection probes are present in the Scene, a reflection texture will be picked for the terrain object and set as a uniform for the shader. Not applicable to materials using built-in Legacy shaders.