public SWIGTYPE_p_btMotionState getMotionState() { IntPtr cPtr = BulletDynamicsPINVOKE.btRigidBody_getMotionState__SWIG_0(swigCPtr); SWIGTYPE_p_btMotionState ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btMotionState(cPtr, false); return(ret); }
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(); } }
internal static HandleRef getCPtr(SWIGTYPE_p_btMotionState obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
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 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(); }
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)); }
public void setMotionState(SWIGTYPE_p_btMotionState motionState) { BulletDynamicsPINVOKE.btRigidBody_setMotionState(swigCPtr, SWIGTYPE_p_btMotionState.getCPtr(motionState)); }
internal btDefaultMotionState(IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = new HandleRef(this, cPtr); swigWrapPtr = new SWIGTYPE_p_btMotionState(cPtr, true); }
public virtual void Dispose() { lock(this) { if (swigCPtr.Handle != IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; LinearMathPINVOKE.delete_btDefaultMotionState(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); swigWrapPtr = new SWIGTYPE_p_btMotionState(IntPtr.Zero, true); } GC.SuppressFinalize(this); } }
internal static HandleRef getCPtr(SWIGTYPE_p_btMotionState obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }