Modifica

Condividi tramite


BoundsExtensions.CloserToPoint(Bounds, Vector3, Bounds) Method

Definition

Checks to see whether point is closer to bounds or otherBounds

public:
[System::Runtime::CompilerServices::Extension]
 static bool CloserToPoint(UnityEngine::Bounds bounds, UnityEngine::Vector3 point, UnityEngine::Bounds otherBounds);
public static bool CloserToPoint (this UnityEngine.Bounds bounds, UnityEngine.Vector3 point, UnityEngine.Bounds otherBounds);
static member CloserToPoint : UnityEngine.Bounds * UnityEngine.Vector3 * UnityEngine.Bounds -> bool
<Extension()>
Public Function CloserToPoint (bounds As Bounds, point As Vector3, otherBounds As Bounds) As Boolean

Parameters

bounds
UnityEngine.Bounds
point
UnityEngine.Vector3
otherBounds
UnityEngine.Bounds

Returns

Applies to