UnityEngine.Collider.INTERNAL_CALL_ClosestPointOnBounds C# (CSharp) Method

INTERNAL_CALL_ClosestPointOnBounds() private method

private INTERNAL_CALL_ClosestPointOnBounds ( Collider self, Vector3 &position, Vector3 &value ) : void
self Collider
position Vector3
value Vector3
return void
        private static extern void INTERNAL_CALL_ClosestPointOnBounds(Collider self, ref Vector3 position, out Vector3 value);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

Example #1
0
        public Vector3 ClosestPointOnBounds(Vector3 position)
        {
            Vector3 result;

            Collider.INTERNAL_CALL_ClosestPointOnBounds(this, ref position, out result);
            return(result);
        }
All Usage Examples Of UnityEngine.Collider::INTERNAL_CALL_ClosestPointOnBounds