SetRayTracingEnabled(bool)
Enables or disables Ray Tracing for all Visual Effects.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
public static void SetRayTracingEnabled(bool enabled)
Parameters
Whether Ray Tracing is enabled or not.
Remarks
When enabled, the effects containing Ray-traced outputs will be added to the Ray Tracing Accelaration Structure.