BoundsExtensions.CloserToPoint(Bounds, Vector3, Bounds) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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