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

RayTracingAccelerationStructureConstructor

切换到手册
public RayTracingAccelerationStructure ();
public RayTracingAccelerationStructure (Experimental.Rendering.RayTracingAccelerationStructure.RASSettings settings);

参数

settings 定义 RayTracingAccelerationStructure 是由用户还是由引擎更新的,以及是否遮罩某些对象层或 RayTracingModes。

描述

使用给定的 RayTracingAccelerationStructure.RASSettings 创建 RayTracingAccelerationStructure。