Expand description
3D OBB with pointer-based manipulation features.
We say “frame” because only the 12 edges of the box are rendered via
bevy_polyline
.
Faces of the box can be dragged by the pointer to manipulate the box extents. As the pointer hovers over each face, visual feedback is provided (highlight material).
Depends on [bevy_mod_picking::DefaultPickingPlugins
] and
bevy_polyline::PolylinePlugin
.
Structs§
- BoxFrame
- The behavioral component of a box frame entity.
- BoxFrame
Plugin - Enables pointer interactions for
BoxFrame
entities. - BoxFrame
Visuals - Assets and configuration for how the gizmo is rendered.
- Solid
Color Material - A mesh material that only outputs a single color.
Functions§
- median3
- The median of three values.