getCPtr() static private method

static private getCPtr ( SWIGTYPE_p_btMotionState obj ) : HandleRef
obj SWIGTYPE_p_btMotionState
return System.Runtime.InteropServices.HandleRef
示例#1
0
 public btRigidBodyConstructionInfo(float mass, SWIGTYPE_p_btMotionState motionState, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btVector3 localInertia) : this(BulletDynamicsPINVOKE.new_btRigidBodyConstructionInfo__SWIG_0(mass, SWIGTYPE_p_btMotionState.getCPtr(motionState), SWIGTYPE_p_btCollisionShape.getCPtr(collisionShape), SWIGTYPE_p_btVector3.getCPtr(localInertia)), true)
 {
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public btRigidBodyConstructionInfo(float mass, SWIGTYPE_p_btMotionState motionState, SWIGTYPE_p_btCollisionShape collisionShape) : this(BulletDynamicsPINVOKE.new_btRigidBodyConstructionInfo__SWIG_1(mass, SWIGTYPE_p_btMotionState.getCPtr(motionState), SWIGTYPE_p_btCollisionShape.getCPtr(collisionShape)), true)
 {
 }
 public void setMotionState(SWIGTYPE_p_btMotionState motionState)
 {
     BulletDynamicsPINVOKE.btRigidBody_setMotionState(swigCPtr, SWIGTYPE_p_btMotionState.getCPtr(motionState));
 }