BulletCSharp.SWIGTYPE_p_btDispatcherInfo.getCPtr C# (CSharp) Method

getCPtr() static private method

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

Usage Example

Example #1
0
        public virtual float calculateTimeOfImpact(SWIGTYPE_p_btCollisionObject body0, SWIGTYPE_p_btCollisionObject body1, SWIGTYPE_p_btDispatcherInfo dispatchInfo, SWIGTYPE_p_btManifoldResult resultOut)
        {
            float ret = BulletSoftBodyPINVOKE.btSoftRigidCollisionAlgorithm_calculateTimeOfImpact(swigCPtr, SWIGTYPE_p_btCollisionObject.getCPtr(body0), SWIGTYPE_p_btCollisionObject.getCPtr(body1), SWIGTYPE_p_btDispatcherInfo.getCPtr(dispatchInfo), SWIGTYPE_p_btManifoldResult.getCPtr(resultOut));

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