Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

Renderer.reflectionProbeUsage

Switch to Manual
public var reflectionProbeUsage: Rendering.ReflectionProbeUsage;

Description

Should reflection probes be used for this Renderer?

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.