Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

RayTracingAccelerationStructure.Settings Constructor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public RayTracingAccelerationStructure.Settings();

Declaration

public RayTracingAccelerationStructure.Settings(Rendering.RayTracingAccelerationStructure.ManagementMode sceneManagementMode, Rendering.RayTracingAccelerationStructure.RayTracingModeMask rayTracingModeMask, int layerMask);

Declaration

public RayTracingAccelerationStructure.Settings(Rendering.RayTracingAccelerationStructure.ManagementMode sceneManagementMode, Rendering.RayTracingAccelerationStructure.RayTracingModeMask rayTracingModeMask, int layerMask, Rendering.RayTracingAccelerationStructureBuildFlags buildFlagsStaticGeometries, Rendering.RayTracingAccelerationStructureBuildFlags buildFlagsDynamicGeometries);

Parameters

sceneManagementMode Whether Unity or the user manages a RayTracingAccelerationStructure.
rayTracingModeMask The mask that determines which ray tracing instances are added to the RayTracingAccelerationStructure based on their RayTracingMode.
layerMask The mask that determines which ray tracing instances are added to the RayTracingAccelerationStructure based on their layer.
buildFlagsStaticGeometries The flags Unity uses when it builds acceleration structures associated with static geometries.
buildFlagsDynamicGeometries The flags Unity uses when it builds acceleration structures associated with dynamic geometries.

Description

Initializes and returns an instance of RayTracingAccelerationStructure.Settings from the given configuration.