Skip to main content

GIZMO_PICK_HALF_EXTENT

Constant GIZMO_PICK_HALF_EXTENT 

Source
const GIZMO_PICK_HALF_EXTENT: f32 = 0.35;
Expand description

Half-extent of the clickable box given to entities that have no mesh.

A light or a camera is drawn as a gizmo, not geometry, so it has no bounds of its own — without this they would be unselectable in the viewport, which is precisely when you want to grab them.