partIndex property

int partIndex

The index of the part in which the point was found.

Returned index value should be checked against ProximityResult.npos for validity.

Implementation

int get partIndex {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ProximityResult_getPartIndex(_handle, errorHandler);
  });
}