getCPtr() static private method

static private getCPtr ( SWIGTYPE_p_PHY_ScalarType obj ) : HandleRef
obj SWIGTYPE_p_PHY_ScalarType
return System.Runtime.InteropServices.HandleRef
Beispiel #1
0
 public virtual void getLockedReadOnlyVertexIndexBase(SWIGTYPE_p_p_unsigned_char vertexbase, SWIGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_unsigned_char indexbase, SWIGTYPE_p_int indexstride, SWIGTYPE_p_int numfaces, SWIGTYPE_p_PHY_ScalarType indicestype, int subpart)
 {
     BulletCollisionPINVOKE.btTriangleIndexVertexArray_getLockedReadOnlyVertexIndexBase__SWIG_0(swigCPtr, SWIGTYPE_p_p_unsigned_char.getCPtr(vertexbase), SWIGTYPE_p_int.getCPtr(numverts), SWIGTYPE_p_PHY_ScalarType.getCPtr(type), SWIGTYPE_p_int.getCPtr(vertexStride), SWIGTYPE_p_p_unsigned_char.getCPtr(indexbase), SWIGTYPE_p_int.getCPtr(indexstride), SWIGTYPE_p_int.getCPtr(numfaces), SWIGTYPE_p_PHY_ScalarType.getCPtr(indicestype), subpart);
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public void addIndexedMesh(btIndexedMesh mesh, SWIGTYPE_p_PHY_ScalarType indexType)
 {
     BulletCollisionPINVOKE.btTriangleIndexVertexArray_addIndexedMesh__SWIG_0(swigCPtr, btIndexedMesh.getCPtr(mesh), SWIGTYPE_p_PHY_ScalarType.getCPtr(indexType));
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
     }
 }