BulletCSharp.SWIGTYPE_p_btStridingMeshInterface.getCPtr C# (CSharp) Method

getCPtr() static private method

static private getCPtr ( SWIGTYPE_p_btStridingMeshInterface obj ) : HandleRef
obj SWIGTYPE_p_btStridingMeshInterface
return System.Runtime.InteropServices.HandleRef
        internal static HandleRef getCPtr(SWIGTYPE_p_btStridingMeshInterface obj)
        {
            return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
        }

Usage Example

コード例 #1
0
 public btBvhTriangleMeshShape(SWIGTYPE_p_btStridingMeshInterface meshInterface, bool useQuantizedAabbCompression, SWIGTYPE_p_btVector3 bvhAabbMin, SWIGTYPE_p_btVector3 bvhAabbMax) : this(BulletCollisionPINVOKE.new_btBvhTriangleMeshShape__SWIG_3(SWIGTYPE_p_btStridingMeshInterface.getCPtr(meshInterface), useQuantizedAabbCompression, SWIGTYPE_p_btVector3.getCPtr(bvhAabbMin), SWIGTYPE_p_btVector3.getCPtr(bvhAabbMax)), true)
 {
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
     }
 }
All Usage Examples Of BulletCSharp.SWIGTYPE_p_btStridingMeshInterface::getCPtr
SWIGTYPE_p_btStridingMeshInterface