Struct amethyst_controls::FreeRotationSystem [−][src]
pub struct FreeRotationSystem<A, B> { /* fields omitted */ }
The system that manages the view rotation. Controlled by the mouse.
Methods
impl<A, B> FreeRotationSystem<A, B>
[src]
impl<A, B> FreeRotationSystem<A, B>
Trait Implementations
impl<'a, A, B> System<'a> for FreeRotationSystem<A, B> where
A: Send + Sync + Hash + Eq + Clone + 'static,
B: Send + Sync + Hash + Eq + Clone + 'static,
[src]
impl<'a, A, B> System<'a> for FreeRotationSystem<A, B> where
A: Send + Sync + Hash + Eq + Clone + 'static,
B: Send + Sync + Hash + Eq + Clone + 'static,
type SystemData = (Read<'a, EventChannel<Event>>, WriteStorage<'a, Transform>, ReadStorage<'a, FlyControlTag>, Read<'a, WindowFocus>)
The resource bundle required to execute this system. Read more
fn run(&mut self, (events, transform, tag, focus): Self::SystemData)
[src]
fn run(&mut self, (events, transform, tag, focus): Self::SystemData)
Executes the system with the required system data. Read more
fn setup(&mut self, res: &mut Resources)
[src]
fn setup(&mut self, res: &mut Resources)
Sets up the Resources
using Self::SystemData::setup
.
fn running_time(&self) -> RunningTime
fn running_time(&self) -> RunningTime
Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
Return the accessor from the [SystemData
].
Auto Trait Implementations
impl<A, B> Send for FreeRotationSystem<A, B> where
A: Send,
B: Send,
impl<A, B> Send for FreeRotationSystem<A, B> where
A: Send,
B: Send,
impl<A, B> Sync for FreeRotationSystem<A, B> where
A: Sync,
B: Sync,
impl<A, B> Sync for FreeRotationSystem<A, B> where
A: Sync,
B: Sync,