기술 자료

Unity Engine

Unity Engine

layerMask

A LayerMask that is used to selectively ignore Colliders when casting a ray.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
경고
Deprecated. Layer Mask is now a part of QueryParameters struct
public int layerMask { get; set; }