Version: Unity 6.4 Alpha (6000.4)
LanguageEnglish
  • C#

Canvas.useReflectionProbes

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public bool useReflectionProbes;

Description

Enables reflections on the Canvas when Canvas.renderMode is set to World Space.

When enabled, the Canvas is registered with the Reflection Probe system. The system selects the most appropriate reflection probe based on the Canvas's world position and binds it to all shaders on the Canvas. All shaders on the Canvas can then access the reflection probe cube map and the normal vector to calculate reflections accurately.