Crates.io | transform-gizmo |
lib.rs | transform-gizmo |
version | 0.4.0 |
source | src |
created_at | 2024-02-03 09:56:38.129889 |
updated_at | 2024-11-02 11:09:18.596777 |
description | 3D transformation gizmo |
homepage | https://github.com/urholaukkarinen/transform-gizmo |
repository | https://github.com/urholaukkarinen/transform-gizmo |
max_upload_size | |
id | 1125259 |
size | 104,802 |
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.
transform-gizmo-bevy
provides a Plugin for easy integration into the Bevy Engine.
transform-gizmo-egui
enables you to use the Gizmo wherever Egui is used.
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.
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.
This crate is dual licensed under MIT and Apache 2.0.
Contributions are welcome! See CONTRIBUTING.md