Struct amethyst_controls::ArcBallMovementSystem [−][src]
pub struct ArcBallMovementSystem;
The system that manages the arc ball movement; In essence, the system will allign the camera with its target while keeping the distance to it and while keeping the orientation of the camera. To modify the orientation of the camera in accordance with the mouse input, please use the FreeRotationSystem.
Trait Implementations
impl Default for ArcBallMovementSystem
[src]
impl Default for ArcBallMovementSystem
fn default() -> ArcBallMovementSystem
[src]
fn default() -> ArcBallMovementSystem
Returns the "default value" for a type. Read more
impl<'a> System<'a> for ArcBallMovementSystem
[src]
impl<'a> System<'a> for ArcBallMovementSystem
type SystemData = (WriteStorage<'a, Transform>, ReadStorage<'a, ArcBallControlTag>)
The resource bundle required to execute this system. Read more
fn run(&mut self, (transforms, tags): Self::SystemData)
[src]
fn run(&mut self, (transforms, tags): Self::SystemData)
Executes the system with the required system data. Read more
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
].
fn setup(&mut self, res: &mut Resources)
fn setup(&mut self, res: &mut Resources)
Sets up the Resources
using Self::SystemData::setup
.
Auto Trait Implementations
impl Send for ArcBallMovementSystem
impl Send for ArcBallMovementSystem
impl Sync for ArcBallMovementSystem
impl Sync for ArcBallMovementSystem