pub struct FlyCam(pub bool);Expand description
The editor’s fly-camera state. While true (published only by the cn editor HUD drive), InputSystem keeps the navigation keys and mouse deltas
live and GraphicsSystem captures the cursor even though the world is frozen
behind the editor’s menu override – the editor integrates Camera3D itself,
so the viewport can be flown without running the simulation. Absent / false
in a shipped runtime.
Tuple Fields§
§0: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for FlyCam
impl RefUnwindSafe for FlyCam
impl Send for FlyCam
impl Sync for FlyCam
impl Unpin for FlyCam
impl UnsafeUnpin for FlyCam
impl UnwindSafe for FlyCam
Blanket Implementations§
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