ドキュメント

Unity Engine

Unity Engine

layerMask

A value that indicates which layers are accepted by this testing configuration.
読み終わるまでの所要時間 1 分最終更新 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.