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.
The resource bundle required to execute this system. Read more
fn run(&mut self, (transforms, tags): Self::SystemData) | [src] |
Executes the system with the required system data. Read more
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> | |
Return the accessor from the [SystemData].
fn setup(&mut self, res: &mut Resources) | |
Sets up the Resources using Self::SystemData::setup.