ドキュメント

Unity Engine

Unity Engine

useReflectionProbes

Enables reflections on the Canvas when Canvas.renderMode is set to World Space.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.