Partilhar via


Enum HitCollectionPolicy

Determines which hits a raycast query returns.

enum class Microsoft::Azure::RemoteRendering::HitCollectionPolicy : int32_t

Values

Name Value Description Remarks
HitCollectionPolicy::ClosestHits 0 Return all hits along the ray up to a configurable limit, sorted by distance. This is the least efficient method but it is also rarely needed.
HitCollectionPolicy::ClosestHit 1 Return the closest hit.
HitCollectionPolicy::AnyHit 2 Return any hit along the ray. This is the most efficient option, to answer 'is B visible from A'?

See also