BulletCSharp.HullResult.getCPtr C# (CSharp) Method

getCPtr() static private method

static private getCPtr ( HullResult obj ) : HandleRef
obj HullResult
return System.Runtime.InteropServices.HandleRef
        internal static HandleRef getCPtr(HullResult obj)
        {
            return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
        }

Usage Example

        public HullError ReleaseResult(HullResult result)
        {
            HullError ret = (HullError)LinearMathPINVOKE.HullLibrary_ReleaseResult(swigCPtr, HullResult.getCPtr(result));

            if (LinearMathPINVOKE.SWIGPendingException.Pending)
            {
                throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
All Usage Examples Of BulletCSharp.HullResult::getCPtr