HitCollectionPolicy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines which hits a raycast query returns.
public enum class HitCollectionPolicy
public enum HitCollectionPolicy
type HitCollectionPolicy =
Public Enum HitCollectionPolicy
- Inheritance
-
HitCollectionPolicy
Fields
Name | Value | Description |
---|---|---|
ClosestHits | 0 | Return all hits along the ray up to a configurable limit, sorted by distance. |
ClosestHit | 1 | Return the closest hit. |
AnyHit | 2 | Return any hit along the ray. |