Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Warning
Deprecated. RayTracingAccelerationStructure.RASSettings is deprecated. Use RayTracingAccelerationStructure.Settings instead.
Upgrade to Settings
public struct RayTracingAccelerationStructure.RASSettings

Remarks

This structure is obsolete. Use Settings structure instead.

Fields

Value

Description

layerMaskA 32-bit mask that controls which layers a GameObject must be on in order to be added to the RayTracingAccelerationStructure.
managementModeAn enum that selects whether a RayTracingAccelerationStructure is automatically or manually updated.
rayTracingModeMaskAn enum controlling which RayTracingModes a Renderer must have in order to be added to the RayTracingAccelerationStructure.

Constructors