BulletCSharp.SWIGTYPE_p_btDispatcher.getCPtr C# (CSharp) Method

getCPtr() static private method

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

Usage Example

        public virtual float solveGroup(SWIGTYPE_p_p_btCollisionObject bodies, int numBodies, SWIGTYPE_p_p_btPersistentManifold manifold, int numManifolds, SWIGTYPE_p_p_btTypedConstraint constraints, int numConstraints, SWIGTYPE_p_btContactSolverInfo info, SWIGTYPE_p_btIDebugDraw debugDrawer, SWIGTYPE_p_btStackAlloc stackAlloc, SWIGTYPE_p_btDispatcher dispatcher)
        {
            float ret = BulletDynamicsPINVOKE.btSequentialImpulseConstraintSolver_solveGroup(swigCPtr, SWIGTYPE_p_p_btCollisionObject.getCPtr(bodies), numBodies, SWIGTYPE_p_p_btPersistentManifold.getCPtr(manifold), numManifolds, SWIGTYPE_p_p_btTypedConstraint.getCPtr(constraints), numConstraints, SWIGTYPE_p_btContactSolverInfo.getCPtr(info), SWIGTYPE_p_btIDebugDraw.getCPtr(debugDrawer), SWIGTYPE_p_btStackAlloc.getCPtr(stackAlloc), SWIGTYPE_p_btDispatcher.getCPtr(dispatcher));

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