Struct RayCast

Parameters for doing a raycast.

struct Microsoft::Azure::RemoteRendering::RayCast

Fields

StartPos

Start position for the raycast in world space.

Microsoft::Azure::RemoteRendering::Double3 StartPos{};

EndPos

End position of the raycast in world space.

Microsoft::Azure::RemoteRendering::Double3 EndPos{};

HitCollection

See HitCollectionPolicy.

Microsoft::Azure::RemoteRendering::HitCollectionPolicy HitCollection{};

MaxHits

The maximum number of hits to collect. Only needed for HitCollectionPolicy.AllHits.

int32_t MaxHits{};

CollisionMask

Reserved for future use.

uint32_t CollisionMask{};

See also