Bearbeiten

Freigeben über


NearInteractionTouchable.DistanceToTouchable(Vector3, Vector3) Method

Definition

UnityEngine.MonoBehaviour.DistanceToTouchable(UnityEngine.Vector3,UnityEngine.Vector3@)
public:
 override float DistanceToTouchable(UnityEngine::Vector3 samplePoint, [Runtime::InteropServices::Out] UnityEngine::Vector3 % normal);
public override float DistanceToTouchable (UnityEngine.Vector3 samplePoint, out UnityEngine.Vector3 normal);
override this.DistanceToTouchable : UnityEngine.Vector3 * Vector3 -> single
Public Overrides Function DistanceToTouchable (samplePoint As Vector3, ByRef normal As Vector3) As Single

Parameters

samplePoint
UnityEngine.Vector3
normal
UnityEngine.Vector3

Returns

Applies to