コード例 #1
0
ファイル: PxSpatialIndex.cs プロジェクト: kewur/PhysX-Sharp
 public virtual void overlap(PxBounds3 aabb, PxSpatialOverlapCallback callback)
 {
     physxPINVOKE.PxSpatialIndex_overlap(swigCPtr, PxBounds3.getCPtr(aabb), PxSpatialOverlapCallback.getCPtr(callback));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxSpatialOverlapCallback obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }