Version: 2022.3
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingInstanceCullingTest.layerMask

切换到手册
public int layerMask ;

描述

A value that indicates which layers are accepted by this testing configuration.

If a Renderer's layer is not matching the layer mask then the test fails.

If all layers are accepted, use -1 for this value.