Partager via


Class RayCastQueryResult

Result object that is returned by RenderingConnection.RayCastQueryAsync(RayCast). This class holds a (potentially empty) array of.ray cast hits after an asynchronous ray cast call.

class Microsoft::Azure::RemoteRendering::RayCastQueryResult final

Properties

Hits

A (potentially empty) array of intersections that the raycast encountered.

auto GetHits(std::vector<Microsoft::Azure::RemoteRendering::RayCastHit> & out) const noexcept -> void;

See also