기술 자료

Unity Engine

Unity Engine

RayTracingAccelerationStructure.RASSettings

Defines whether Unity or the user updates a RayTracingAccelerationStructure and whether to mask certain object layers or RayTracingModes.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

경고
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