BulletCSharp.SWIGTYPE_p_unsigned_int.getCPtr C# (CSharp) Метод

getCPtr() статический приватный Метод

static private getCPtr ( SWIGTYPE_p_unsigned_int obj ) : HandleRef
obj SWIGTYPE_p_unsigned_int
Результат System.Runtime.InteropServices.HandleRef
        internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_int obj)
        {
            return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
        }

Usage Example

        public static bool btRayAabb2(btVector3 rayFrom, btVector3 rayInvDirection, SWIGTYPE_p_unsigned_int raySign, btVector3 bounds, SWIGTYPE_p_float tmin, float lambda_min, float lambda_max)
        {
            bool ret = LinearMathPINVOKE.btRayAabb2(btVector3.getCPtr(rayFrom), btVector3.getCPtr(rayInvDirection), SWIGTYPE_p_unsigned_int.getCPtr(raySign), btVector3.getCPtr(bounds), SWIGTYPE_p_float.getCPtr(tmin), lambda_min, lambda_max);

            if (LinearMathPINVOKE.SWIGPendingException.Pending)
            {
                throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
SWIGTYPE_p_unsigned_int