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