Share via


HitCollectionPolicy Enum

Definition

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.

Applies to

See also