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

XRRaycastHit.Distance

切换到手册
public float Distance ;

描述

从屏幕到命中的 XRRaycastSubsystemHit.Position 的距离(单位:米)。