Crate bevy_fsl_box_frame
source ·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§
- The behavioral component of a box frame entity.
- Enables pointer interactions for
BoxFrame
entities. - Assets and configuration for how the gizmo is rendered.
- A mesh material that only outputs a single color.
Functions§
- The median of three values.
Type Aliases§
- Given the box frame’s current extents, returns the desired scaling factor of the handle’s [
Transform
].