RayTracingAccelerationStructure.RASSettings
Defines whether Unity or the user updates a RayTracingAccelerationStructure and whether to mask certain object layers or RayTracingModes.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public struct RayTracingAccelerationStructure.RASSettings
Remarks
This structure is obsolete. Use Settings structure instead.
Fields
Value | Description |
|---|---|
| layerMask | A 32-bit mask that controls which layers a GameObject must be on in order to be added to the RayTracingAccelerationStructure. |
| managementMode | An enum that selects whether a RayTracingAccelerationStructure is automatically or manually updated. |
| rayTracingModeMask | An enum controlling which RayTracingModes a Renderer must have in order to be added to the RayTracingAccelerationStructure. |
Constructors
Constructor | Description |
|---|---|
| RASSettings(UnityEngine.Rendering.RayTracingAccelerationStructure.ManagementMode,UnityEngine.Rendering.RayTracingAccelerationStructure.RayTracingModeMask,System.Int32) | Creates a RayTracingAccelerationStructure.RASSettings from the given configuration. |