getCPtr() static private method

static private getCPtr ( SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t obj ) : HandleRef
obj SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t
return System.Runtime.InteropServices.HandleRef
 public virtual void optimize(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t softBodies)
 {
     BulletSoftBodyPINVOKE.btSoftBodySolver_optimize__SWIG_1(swigCPtr, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t.getCPtr(softBodies));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public override void optimize(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t softBodies, bool forceUpdate)
 {
     BulletSoftBodyPINVOKE.btDefaultSoftBodySolver_optimize__SWIG_0(swigCPtr, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t.getCPtr(softBodies), forceUpdate);
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }