Settings
Initializes and returns an instance of RayTracingAccelerationStructure.Settings from the given configuration.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Constructor
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
Settings()
Initializes and returns an instance of RayTracingAccelerationStructure.Settings from the given configuration.
public Settings()
Settings(ManagementMode, RayTracingModeMask, int)
Initializes and returns an instance of RayTracingAccelerationStructure.Settings from the given configuration.
public Settings(RayTracingAccelerationStructure.ManagementMode sceneManagementMode, RayTracingAccelerationStructure.RayTracingModeMask rayTracingModeMask, int layerMask)
Parameters
Whether Unity or the user manages a RayTracingAccelerationStructure.
The mask that determines which ray tracing instances are added to the RayTracingAccelerationStructure based on their .
RayTracingModeThe mask that determines which ray tracing instances are added to the RayTracingAccelerationStructure based on their layer.
Settings(ManagementMode, RayTracingModeMask, int, RayTracingAccelerationStructureBuildFlags, RayTracingAccelerationStructureBuildFlags)
Initializes and returns an instance of RayTracingAccelerationStructure.Settings from the given configuration.
public Settings(RayTracingAccelerationStructure.ManagementMode sceneManagementMode, RayTracingAccelerationStructure.RayTracingModeMask rayTracingModeMask, int layerMask, RayTracingAccelerationStructureBuildFlags buildFlagsStaticGeometries, RayTracingAccelerationStructureBuildFlags buildFlagsDynamicGeometries)
Parameters
Whether Unity or the user manages a RayTracingAccelerationStructure.
The mask that determines which ray tracing instances are added to the RayTracingAccelerationStructure based on their .
RayTracingModeThe mask that determines which ray tracing instances are added to the RayTracingAccelerationStructure based on their layer.
The flags Unity uses when it builds acceleration structures associated with static geometries.
The flags Unity uses when it builds acceleration structures associated with dynamic geometries.