Inheritance: IDisposable
コード例 #1
0
 public void appendLinearJoint(SWIGTYPE_p_btVector3 position, Cluster body)
 {
     BulletSoftBodyPINVOKE.btSoftBody_appendLinearJoint__SWIG_6(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(position), Cluster.getCPtr(body));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #2
0
 public static void clusterVImpulse(Cluster cluster, SWIGTYPE_p_btVector3 rpos, SWIGTYPE_p_btVector3 impulse)
 {
     BulletSoftBodyPINVOKE.btSoftBody_clusterVImpulse(Cluster.getCPtr(cluster), SWIGTYPE_p_btVector3.getCPtr(rpos), SWIGTYPE_p_btVector3.getCPtr(impulse));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #3
0
 public void appendLinearJoint(SWIGTYPE_p_LJoint__Specs specs, Cluster body0, Body body1)
 {
     BulletSoftBodyPINVOKE.btSoftBody_appendLinearJoint__SWIG_0(swigCPtr, SWIGTYPE_p_LJoint__Specs.getCPtr(specs), Cluster.getCPtr(body0), Body.getCPtr(body1));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #4
0
 public static SWIGTYPE_p_btVector3 clusterVelocity(Cluster cluster, SWIGTYPE_p_btVector3 rpos)
 {
     SWIGTYPE_p_btVector3 ret = new SWIGTYPE_p_btVector3(BulletSoftBodyPINVOKE.btSoftBody_clusterVelocity(Cluster.getCPtr(cluster), SWIGTYPE_p_btVector3.getCPtr(rpos)), true);
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #5
0
 public static SWIGTYPE_p_btVector3 clusterCom(Cluster cluster)
 {
     SWIGTYPE_p_btVector3 ret = new SWIGTYPE_p_btVector3(BulletSoftBodyPINVOKE.btSoftBody_clusterCom__SWIG_0(Cluster.getCPtr(cluster)), true);
     return ret;
 }
コード例 #6
0
 public static void clusterAImpulse(Cluster cluster, Impulse impulse)
 {
     BulletSoftBodyPINVOKE.btSoftBody_clusterAImpulse(Cluster.getCPtr(cluster), Impulse.getCPtr(impulse));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #7
0
ファイル: Body.cs プロジェクト: sanglin307/BulletUnity3D
 public Body(Cluster p)
     : this(BulletSoftBodyPINVOKE.new_Body__SWIG_1(Cluster.getCPtr(p)), true)
 {
 }
コード例 #8
0
ファイル: Cluster.cs プロジェクト: sanglin307/BulletUnity3D
 internal static HandleRef getCPtr(Cluster obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }