Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetRayTracingEnabled(bool)

Enables or disables Ray Tracing for all Visual Effects.
Read time 1 minuteLast updated 8 days ago

Definition

public static void SetRayTracingEnabled(bool enabled)

Parameters

enabled

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.