Property point
point
The location on the object (in world space) where the distance was calculated from.
Declaration
public Vector3 point { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
Remarks
When used with the method TryGetClosestPointOnCollider(IXRInteractable, Vector3, out DistanceInfo), point contains the collider's position.
When used with the method TryGetClosestCollider(IXRInteractable, Vector3, out DistanceInfo), this property contains the point on the collider closest to the location used for calculation.