DistanceToNearestSurfacec Exclude Mesh from results without disabling Distance Fields for it?

I know this was a while ago, but how did you change the offset and resample?