Expand description
Typed sub-object reference and sub-object selection set. Typed sub-object reference and sub-object selection set.
[SubObjectRef] is the single canonical way to identify a face, vertex,
edge, or point-cloud point relative to its parent object. It is carried
inside PickHit::sub_object
and used as the key type in [SubSelection].
[SubSelection] is the sub-object counterpart to
crate::interaction::selection::Selection. Typically an app holds both:
Selection for which objects are selected, SubSelection for which faces
or points within those objects are selected.
Structs§
- Cell
Selection Info - Geometry info needed to highlight a
SubObjectRef::Cellselection. - Polyline
Selection Info - Geometry info needed to highlight
SubObjectRef::Point,SubObjectRef::Segment, andSubObjectRef::Stripselections on a polyline item. - SubSelection
- A set of selected sub-objects (faces, vertices, edges, or points) across one or more parent objects.
- SubSelection
Ref - A renderer-owned snapshot of a
SubSelectiontaken at frame submission time. - Volume
Selection Info - Geometry info needed to decode a
SubObjectRef::Voxelflat index into world-space AABB corners for highlight rendering.
Enums§
- SubObject
Ref - A typed reference to a sub-object within a parent scene object.