Expand description
Ray-cast object picking.
Structs§
- GpuPick
Hit - Result of a GPU object-ID pick pass.
- PickHit
- Result of a successful ray-cast pick against a scene object.
- Probe
Binding - Per-object attribute binding for probe-aware picking.
- Rect
Pick Result - Result of a rectangular (rubber-band) pick.
Functions§
- box_
select - Select all visible objects whose world-space position projects inside a screen-space rectangle.
- pick_
rect - Sub-object (triangle / point) selection inside a screen-space rectangle.
- pick_
scene - Cast a ray against all visible viewport objects. Returns a
PickHitfor the nearest hit, orNoneif nothing was hit. - pick_
scene_ accelerated_ with_ probe - Like
pick_scene_acceleratedbut also computes the scalar value at the hit point. - pick_
scene_ nodes - Cast a ray against all visible scene nodes. Returns a
PickHitfor the nearest hit. - pick_
scene_ nodes_ with_ probe - Like
pick_scene_nodesbut also computes the scalar value at the hit point. - pick_
scene_ with_ probe - Like
pick_scenebut also computes the scalar attribute value at the hit point via barycentric interpolation (vertex attributes) or direct lookup (cell attributes). - screen_
to_ ray - Convert screen position (in viewport-local pixels) to a world-space ray.