Struct ascending_camera::controls::OrbitControls
source · pub struct OrbitControls { /* private fields */ }Implementations§
source§impl OrbitControls
impl OrbitControls
pub fn azimuth(&self) -> f32
pub fn center(&self) -> [f32; 3]
pub fn inputs(&self) -> &OrbitInputs
pub fn new(settings: OrbitSettings, center: [f32; 3], radius: f32) -> Self
pub fn polar(&self) -> f32
pub fn radius(&self) -> f32
pub fn set_aizmuth(&mut self, azimuth: f32)
pub fn set_center(&mut self, center: [f32; 3])
pub fn set_inputs(&mut self, inputs: OrbitInputs)
pub fn set_polar(&mut self, polar: f32)
pub fn set_radius(&mut self, radius: f32)
Trait Implementations§
source§impl Clone for OrbitControls
impl Clone for OrbitControls
source§fn clone(&self) -> OrbitControls
fn clone(&self) -> OrbitControls
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OrbitControls
impl RefUnwindSafe for OrbitControls
impl Send for OrbitControls
impl Sync for OrbitControls
impl Unpin for OrbitControls
impl UnwindSafe for OrbitControls
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more