4 releases (breaking)

0.4.0 Nov 2, 2024
0.3.0 Jul 7, 2024
0.2.0 Jun 9, 2024
0.1.0 Apr 6, 2024

#231 in Game dev

Download history 308/week @ 2024-07-29 242/week @ 2024-08-05 568/week @ 2024-08-12 469/week @ 2024-08-19 716/week @ 2024-08-26 667/week @ 2024-09-02 585/week @ 2024-09-09 360/week @ 2024-09-16 818/week @ 2024-09-23 553/week @ 2024-09-30 434/week @ 2024-10-07 386/week @ 2024-10-14 446/week @ 2024-10-21 557/week @ 2024-10-28 747/week @ 2024-11-04 562/week @ 2024-11-11

2,339 downloads per month
Used in 7 crates (3 directly)

MIT/Apache

150KB
3K 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

~39–76MB
~1.5M SLoC