private INTERNAL_CALL_ClosestPointOnBounds ( |
||
self | ||
position | ||
value | ||
return | void |
public Vector3 ClosestPointOnBounds(Vector3 position) { Vector3 result; Collider.INTERNAL_CALL_ClosestPointOnBounds(this, ref position, out result); return(result); }
/// <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); }
public Vector3 ClosestPointOnBounds(Vector3 position) { return(Collider.INTERNAL_CALL_ClosestPointOnBounds(this, ref position)); }