pub struct Follow { /* private fields */ }Implementations§
Source§impl Follow
impl Follow
pub fn new(tuning: FollowTuning) -> Self
pub fn started(&self) -> bool
pub fn tuning(&self) -> &FollowTuning
pub fn tuning_mut(&mut self) -> &mut FollowTuning
pub fn focus(&self) -> Vec3
pub fn set_view_half(&mut self, half: [f32; 2])
pub fn hand_over(&mut self)
pub fn restart(&mut self)
pub fn tick(&mut self, dt: f32, input: &Input, comfort: Comfort)
pub fn pose(&self, alpha: f32) -> View
Trait Implementations§
impl StructuralPartialEq for Follow
Auto Trait Implementations§
impl Freeze for Follow
impl RefUnwindSafe for Follow
impl Send for Follow
impl Sync for Follow
impl Unpin for Follow
impl UnsafeUnpin for Follow
impl UnwindSafe for Follow
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