useReflectionProbes
Enables reflections on the Canvas when _renderMode is set to World Space.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.UIModule
public bool useReflectionProbes { get; set; }
Remarks
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.