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

RayTracingAccelerationStructureConstructor

Switch to Manual
public RayTracingAccelerationStructure ();
public RayTracingAccelerationStructure (Experimental.Rendering.RayTracingAccelerationStructure.RASSettings settings);

Parameters

settingsDefines 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.