Struct egui_gizmo::GizmoResult
source · pub struct GizmoResult {
pub scale: Vec3,
pub rotation: Quat,
pub translation: Vec3,
pub mode: GizmoMode,
pub value: [f32; 3],
}
Expand description
Result of an active transformation
Fields§
§scale: Vec3
Updated scale
rotation: Quat
Updated rotation
translation: Vec3
Updated translation
mode: GizmoMode
Mode of the active subgizmo
value: [f32; 3]
Total scale, rotation or translation of the current gizmo activation, depending on mode
Implementations§
Trait Implementations§
source§impl Clone for GizmoResult
impl Clone for GizmoResult
source§fn clone(&self) -> GizmoResult
fn clone(&self) -> GizmoResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more