4 releases (breaking)

new 0.4.0 Nov 2, 2024
0.3.0 Jul 7, 2024
0.2.0 Jun 9, 2024
0.1.0 Apr 6, 2024
0.0.0 Feb 3, 2024

#411 in GUI

Download history 253/week @ 2024-07-13 201/week @ 2024-07-20 382/week @ 2024-07-27 298/week @ 2024-08-03 601/week @ 2024-08-10 571/week @ 2024-08-17 846/week @ 2024-08-24 800/week @ 2024-08-31 663/week @ 2024-09-07 493/week @ 2024-09-14 873/week @ 2024-09-21 685/week @ 2024-09-28 542/week @ 2024-10-05 472/week @ 2024-10-12 566/week @ 2024-10-19 544/week @ 2024-10-26

2,220 downloads per month
Used in 9 crates (2 directly)

MIT/Apache

105KB
2.5K SLoC

transform-gizmo

Latest version Documentation MIT Apache

transform-gizmo is a framework-agnostic Rust crate that provides a feature-rich and customizable 3D transformation gizmo for manipulating the position, rotation and scale of 3D entities.

Try it out in a web demo

All modes

Usage

Bevy

transform-gizmo-bevy provides a Plugin for easy integration into the Bevy Engine.

Egui

transform-gizmo-egui enables you to use the Gizmo wherever Egui is used.

Other

For interacting with the gizmo, all you will need to do is give Gizmo::update sufficient information about user interaction, in the form of GizmoInteraction.

For rendering the gizmo, Gizmo::draw provides vertices in viewport coordinates that can be easily rendered with your favorite graphics APIs.

Other

The gizmo exposes mathematical types as mint types, which means it is easy to use with types from various crates such as nalgebra, glam and cgmath. You may need to enable a mint feature, depending on the math library.

License

This crate is dual licensed under MIT and Apache 2.0.

Contributing

Contributions are welcome! See CONTRIBUTING.md

Dependencies

~7–12MB
~198K SLoC