Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

XRRaycastHit.Distance

Switch to Manual
public float Distance ;

Description

The distance, in meters, from the screen to the hit's XRRaycastSubsystemHit.Position.