pub enum GizmoKind {
Empty,
Camera {
fov_y: f32,
aspect: f32,
near: f32,
far: f32,
},
DirectionalLight,
PointLight {
radius: f32,
},
Audio,
Mesh,
}Expand description
The kind of gizmo to draw for an entity.
Variants§
Empty
Empty entity — wireframe cube.
Camera
Camera entity — frustum wireframe.
Fields
DirectionalLight
Directional light — arrow icon.
PointLight
Point light — wireframe sphere.
Audio
Audio source — wireframe sphere.
Mesh
Entity with a mesh — highlighted cube.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GizmoKind
impl RefUnwindSafe for GizmoKind
impl Send for GizmoKind
impl Sync for GizmoKind
impl Unpin for GizmoKind
impl UnsafeUnpin for GizmoKind
impl UnwindSafe for GizmoKind
Blanket Implementations§
Source§impl<T> AppLifecycle for Twhere
T: ?Sized,
impl<T> AppLifecycle for Twhere
T: ?Sized,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more