Version: 2022.2
言語: 日本語

QueryParametersConstructor

マニュアルに切り替える
public QueryParameters (int layerMask, bool hitMultipleFaces, QueryTriggerInteraction hitTriggers, bool hitBackfaces);

パラメーター

layerMask A LayerMask that is used to selectively ignore Colliders when casting a ray.
hitMultipleFaces Whether raycast batch query should hit multiple faces.
hitTriggers Whether queries hit Triggers by default.
hitBackfaces Whether physics queries should hit back-face triangles.

説明

Struct used to set up parameters for queries: RaycastCommand, BoxcastCommand, CapsulecastCommand, SpherecastCommand.