findByType
fun List<HitResult>.findByType(planeTypes: Set<Plane.Type> = setOf(), point: Boolean = false, depthPoint: Boolean = false, instantPlacementPoint: Boolean = false, trackingStates: Set<TrackingState> = setOf(TrackingState.TRACKING), pointOrientationModes: Set<Point.OrientationMode> = setOf(OrientationMode.ESTIMATED_SURFACE_NORMAL), planePoseInPolygon: Boolean = true, minCameraDistance: Pair<Camera, Float>? = null, predicate: (HitResult) -> Boolean? = null): HitResult?
Returns the first element matching the given predicate, or null
if element was not found.