Version: 2020.1
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingAccelerationStructure.RASSettingsConstructor

切换到手册
public RayTracingAccelerationStructure.RASSettings (Experimental.Rendering.RayTracingAccelerationStructure.ManagementMode sceneManagementMode, Experimental.Rendering.RayTracingAccelerationStructure.RayTracingModeMask rayTracingModeMask, int layerMask);

参数

sceneManagementMode 选择 RayTracingAccelerationStructure 将由用户还是由 Unity 引擎来管理。
rayTracingModeMask 根据 RayTracingAccelerationStructure.RayTracingMode 过滤要添加到 RayTracingAccelerationStructure 的渲染器。

描述

从给定配置创建 RayTracingAccelerationStructure.RASSettings。