コード例 #1
0
ファイル: PxVolumeCache.cs プロジェクト: kewur/PhysX-Sharp
        public virtual bool overlap(PxGeometry geometry, PxTransform pose, SWIGTYPE_p_physx__PxHitCallbackT_physx__PxOverlapHit_t hitCall)
        {
            bool ret = physxPINVOKE.PxVolumeCache_overlap__SWIG_2(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose), SWIGTYPE_p_physx__PxHitCallbackT_physx__PxOverlapHit_t.getCPtr(hitCall));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_physx__PxHitCallbackT_physx__PxOverlapHit_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }