location_scopeLocation scope visualizes GeoLocations to visualize the results of the spatial queries, such as get_closest_location, get_points_in_radius, get_raycast_location.
The spatial query nodes perform spatial searches from some position and find locations on geometry. The results of those queries can be visualized as arrows - from the positions where we begin searching to the locations that are found.
To use this with get_closest_locations, plug the output locations from it into location scope's locations. Then on location scope, populate geometry and positions with the same data that's get_closest_locations is using.
The process is largely the same with get_raycast_locations, but with the addition of populating location scope's raycast_directions with the same data used for raycast directions.
locationsThe geometry locations to be visualzied. Arrows will point at the position of these locations. These can be a 1D or 2D array of locations.
geometryThe geometry which is sampled by the locations. If used to visualize get_closest_locations, this should be the same geometry that was plugged into its geometry port.
positionsThe positions from which to draw the arrows. If used to visualize get_closest_locations, these should be the positions plugged into that node.
raycast_directionsWhen used with raycast, this can be used to draw "missed" rays that did not contact the geometry. These will be a different color and smaller. If used to visualize get_raycast_locations, the directions should be plugged into here.
arrowsEnables or disables drawing arrows.
circles_at_originEnables or disables drawing circles at the origins - the positions.
circles_at_sampleEnables or disables drawing circles at the samples. These circles will draw even if no positions are provided to draw arrows from.
sizeThe size of each arrow.
miss size factorThe relative size of arrows for "missed rays", when used with raycast_directions.