예제 #1
0
 private NxQueryReportResult onSweepQuery_virtual(System.IntPtr userData, uint nbHits, IntPtr hits)
 {
     return(onSweepQuery(userData, nbHits, NxSweepQueryHit.GetClass(hits)));
 }
예제 #2
0
 /// <summary>Callback function used to return sweep query results. </summary>
 /// <param name="userData">User data pointer passed to the query function. </param>
 /// <param name="nbHits">Number of sweep hits. </param>
 /// <param name="hits">Array of sweep hits (size nbHits) </param>
 public virtual NxQueryReportResult onSweepQuery(System.IntPtr userData, uint nbHits, NxSweepQueryHit hits)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxSceneQueryReport_onSweepQuery_INVOKE(ClassPointer, doSetFunctionPointers, userData, nbHits, (hits != null ? hits.ClassPointer : NullRef)));
 }