UnityEngine.Bounds.CalculateClosestPoint(UnityEngine.Vector3, UnityEngine.Bounds, out UnityEngine.Vector3, out float)

Here are the examples of the csharp api UnityEngine.Bounds.CalculateClosestPoint(UnityEngine.Vector3, UnityEngine.Bounds, out UnityEngine.Vector3, out float) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 View Source File : Bounds.cs
License : MIT License
Project Creator : Viagi

private static Vector3 Internal_GetClosestPoint(Bounds bounds, ref Vector3 point)
        {
            Vector3 outPoint;
            float outSqrDistance;
            CalculateClosestPoint(point, bounds, out outPoint, out outSqrDistance);
            return outPoint;
        }