This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingAccelerationStructure Constructor

Declaration

public RayTracingAccelerationStructure();

Declaration

public RayTracingAccelerationStructure(Experimental.Rendering.RayTracingAccelerationStructure.RASSettings settings);

Parameters

settings Defines whether a RayTracingAccelerationStructure is updated by the user or the Engine, and whether to mask certain object layers or RayTracingModes.

Description

Creates a RayTracingAccelerationStructure with the given RayTracingAccelerationStructure.RASSettings.