文档

Unity Engine

Unity Engine

SetRayTracingEnabled(bool)

Enables or disables Ray Tracing for all Visual Effects.
阅读时间1 分钟最后更新于 1 个月前

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.