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 ArcBallControlTagfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for ArcBallControlTag[src]
impl Clone for ArcBallControlTagfn clone(&self) -> ArcBallControlTag[src]
fn clone(&self) -> ArcBallControlTagReturns 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 ArcBallControlTagtype Storage = HashMapStorage<ArcBallControlTag>
Associated storage type for this component.
Auto Trait Implementations
impl Send for ArcBallControlTag
impl Send for ArcBallControlTagimpl Sync for ArcBallControlTag
impl Sync for ArcBallControlTag