API reference
API reference
Select your platform
No SDKs available
No versions available

FMRUKHit Struct

Describes a Raycast hit in the MRUK (Mixed Reality Utility Kit). This structure is created by the AMRUKAnchor::Raycast and AMRUKAnchor::RaycastAll methods. You can read the position where the raycast hit, the normal of the surface that was hit, and the distance from the origin to the raycast hit position.

Fields

HitDistance : float
The distance between the origin of the ray to the hit position.
Signature
float FMRUKHit::HitDistance
HitNormal : FVector
The normal of the surface that was hit.
Signature
FVector FMRUKHit::HitNormal
HitPosition : FVector
The position where the raycast hit.
Signature
FVector FMRUKHit::HitPosition