layer
The Layer used by the ray tracing instance.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public int layer
Remarks
When you manually add ray tracing instances to a RayTracingAccelerationStructure, RayTracingAccelerationStructure.AddInstance filters instances based on the acceleration structure's Layer Mask.
Additional Resources: RayTracingAccelerationStructure.Settings