Struct amethyst_controls::ArcBallControlTag [−][src]
pub struct ArcBallControlTag { pub target: Entity, pub distance: f32, }
To add an arc ball behaviour, add this to a camera which already has the FlyControlTag added.
Fields
target: Entity
distance: f32
Trait Implementations
impl Debug for ArcBallControlTag
[src]
impl Debug for ArcBallControlTag
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ArcBallControlTag
[src]
impl Clone for ArcBallControlTag
fn clone(&self) -> ArcBallControlTag
[src]
fn clone(&self) -> ArcBallControlTag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Component for ArcBallControlTag
[src]
impl Component for ArcBallControlTag
type Storage = HashMapStorage<ArcBallControlTag>
Associated storage type for this component.
Auto Trait Implementations
impl Send for ArcBallControlTag
impl Send for ArcBallControlTag
impl Sync for ArcBallControlTag
impl Sync for ArcBallControlTag