One row of a near-to-far pick ranking: the record the ray's grown pick box enters, the narrow-phase kind that decided it, and the exact distances. A typed struct so ranking consumers read fields, not string keys; the JSON-safe dictionary form exists only at the evidence boundary.
Source: addons/grid_placement/services/placement_pick_candidate.gd
Syntax
class PlacementPickCandidate extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
NARROW_MISS | Field | `hit_distance` when the narrow phase misses (broad-phase entry only). |
record_id | Property | Stable id of the ranked record (PlacementWorldRecord.placement_instance_id). |
kind | Property | Narrow-phase kind from PlacementWorldRegistry.classify_pick_3d(). |
hit_distance | Property | Distance along the ray to the narrow-phase hit, or NARROW_MISS. |
entry_distance | Property | Distance along the ray to the grown-box entry (always finite: only entered boxes are ranked). |
has_hit | Method | |
to_dict | Method |