Version: 2023.2
언어: 한국어
public int layer ;

설명

The Layer used by the ray tracing instance.

When you manually add ray tracing instances to a RayTracingAccelerationStructure using RayTracingAccelerationStructure.AddInstance, Unity filters instances based on the acceleration structure's layer mask. You specify the layer mask when you create the RayTracingAccelerationStructure.

Additional resources: RayTracingAccelerationStructure.Settings