Version: 2023.1
public int layer ;

描述

Layer used by the ray tracing instance.

When you manually add ray tracing instances to a RayTracingAccelerationStructure, RayTracingAccelerationStructure.AddInstance filters instances based on the acceleration structure's Layer Mask.