INTERNAL_CALL_ClosestPointOnBounds() private method

private INTERNAL_CALL_ClosestPointOnBounds ( Collider self, Vector3 &position, Vector3 &value ) : void
self Collider
position Vector3
value Vector3
return void
Example #1
0
        public Vector3 ClosestPointOnBounds(Vector3 position)
        {
            Vector3 result;

            Collider.INTERNAL_CALL_ClosestPointOnBounds(this, ref position, out result);
            return(result);
        }
Example #2
0
        /// <summary>
        ///   <para>The closest point to the bounding box of the attached collider.</para>
        /// </summary>
        /// <param name="position"></param>
        public Vector3 ClosestPointOnBounds(Vector3 position)
        {
            Vector3 vector3;

            Collider.INTERNAL_CALL_ClosestPointOnBounds(this, ref position, out vector3);
            return(vector3);
        }
Example #3
0
 public Vector3 ClosestPointOnBounds(Vector3 position)
 {
     return(Collider.INTERNAL_CALL_ClosestPointOnBounds(this, ref position));
 }