getCPtr() static private méthode

static private getCPtr ( SWIGTYPE_p_btPersistentManifold obj ) : HandleRef
obj SWIGTYPE_p_btPersistentManifold
Résultat System.Runtime.InteropServices.HandleRef
Exemple #1
0
 public btSoftRigidCollisionAlgorithm(SWIGTYPE_p_btPersistentManifold mf, SWIGTYPE_p_btCollisionAlgorithmConstructionInfo ci, SWIGTYPE_p_btCollisionObjectWrapper col0, SWIGTYPE_p_btCollisionObjectWrapper col1Wrap, bool isSwapped) : this(BulletSoftBodyPINVOKE.new_btSoftRigidCollisionAlgorithm(SWIGTYPE_p_btPersistentManifold.getCPtr(mf), SWIGTYPE_p_btCollisionAlgorithmConstructionInfo.getCPtr(ci), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(col0), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(col1Wrap), isSwapped), true)
 {
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void clearManifold(SWIGTYPE_p_btPersistentManifold manifold)
 {
     BulletCollisionPINVOKE.btCollisionDispatcher_clearManifold(swigCPtr, SWIGTYPE_p_btPersistentManifold.getCPtr(manifold));
 }
        public SWIGTYPE_p_btCollisionAlgorithm findAlgorithm(SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap, SWIGTYPE_p_btPersistentManifold sharedManifold)
        {
            IntPtr cPtr = BulletCollisionPINVOKE.btCollisionDispatcher_findAlgorithm__SWIG_0(swigCPtr, SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body0Wrap), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body1Wrap), SWIGTYPE_p_btPersistentManifold.getCPtr(sharedManifold));
            SWIGTYPE_p_btCollisionAlgorithm ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btCollisionAlgorithm(cPtr, false);

            return(ret);
        }
Exemple #4
0
 public btSoftSoftCollisionAlgorithm(SWIGTYPE_p_btPersistentManifold mf, SWIGTYPE_p_btCollisionAlgorithmConstructionInfo ci, SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap) : this(BulletSoftBodyPINVOKE.new_btSoftSoftCollisionAlgorithm__SWIG_1(SWIGTYPE_p_btPersistentManifold.getCPtr(mf), SWIGTYPE_p_btCollisionAlgorithmConstructionInfo.getCPtr(ci), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body0Wrap), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body1Wrap)), true)
 {
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }