Version: 2023.1

RayTracingAccelerationStructure.SettingsConstructor

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

参数

sceneManagementMode Determines whether Unity or the user manages a RayTracingAccelerationStructure.
rayTracingModeMask 根据 RayTracingAccelerationStructure.RayTracingMode 过滤要添加到 RayTracingAccelerationStructure 的渲染器。
layerMask Filters Renderers to add to the RayTracingAccelerationStructure based on the layer their Game Objects are on.

描述

Creates a RayTracingAccelerationStructure.Settings from the given configuration.