Struct amethyst_controls::ArcBallControlBundle [−][src]
pub struct ArcBallControlBundle<A, B> { /* fields omitted */ }
The bundle that creates an arc ball movement system. Note: Will not actually create a moving entity. It will only register the needed resources and systems. The generic parameters A and B are the ones used in InputHandler<A,B>. You might want to add "fly_movement" and "free_rotation" as dependencies of the TransformSystem. Adding this bundle will grab the mouse, hide it and keep it centered.
See the arc_ball_camera
example to see how to use the arc ball camera.
Methods
impl<A, B> ArcBallControlBundle<A, B>
[src]
impl<A, B> ArcBallControlBundle<A, B>
Trait Implementations
impl<'a, 'b, A, B> SystemBundle<'a, 'b> for ArcBallControlBundle<A, B> where
A: Send + Sync + Hash + Eq + Clone + 'static,
B: Send + Sync + Hash + Eq + Clone + 'static,
[src]
impl<'a, 'b, A, B> SystemBundle<'a, 'b> for ArcBallControlBundle<A, B> where
A: Send + Sync + Hash + Eq + Clone + 'static,
B: Send + Sync + Hash + Eq + Clone + 'static,
Auto Trait Implementations
impl<A, B> Send for ArcBallControlBundle<A, B> where
A: Send,
B: Send,
impl<A, B> Send for ArcBallControlBundle<A, B> where
A: Send,
B: Send,
impl<A, B> Sync for ArcBallControlBundle<A, B> where
A: Sync,
B: Sync,
impl<A, B> Sync for ArcBallControlBundle<A, B> where
A: Sync,
B: Sync,