기술 자료

Unity Engine

Unity Engine

layerMask

A value that indicates which layers are accepted by this testing configuration.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public int layerMask

Remarks

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.