文档

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 分钟最后更新于 1 个月前

Definition

警告
Removed. 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