Enum egui_gizmo::GizmoOrientation
source · pub enum GizmoOrientation {
Global,
Local,
}
Variants§
Global
Transformation axes are aligned to world space. Rotation of the gizmo does not change.
Local
Transformation axes are aligned to local space. Rotation of the gizmo matches the rotation represented by the model matrix.
Trait Implementations§
source§impl Clone for GizmoOrientation
impl Clone for GizmoOrientation
source§fn clone(&self) -> GizmoOrientation
fn clone(&self) -> GizmoOrientation
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 moresource§impl Debug for GizmoOrientation
impl Debug for GizmoOrientation
source§impl PartialEq<GizmoOrientation> for GizmoOrientation
impl PartialEq<GizmoOrientation> for GizmoOrientation
source§fn eq(&self, other: &GizmoOrientation) -> bool
fn eq(&self, other: &GizmoOrientation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.