pub struct Settings3 {
pub position_half_life: f32,
pub target_half_life: f32,
pub fov_half_life: f32,
pub teleport_distance: Option<f32>,
pub obstruction: Option<ObstructionSettings>,
pub shake_strength: f32,
}Fields§
§position_half_life: f32Position error half-life in seconds, in 0..=10; zero disables damping
on positive timesteps. Orbit uses this for yaw, pitch and distance too.
target_half_life: f32Look-target error half-life in seconds. First-person aim is always immediate.
fov_half_life: f32Vertical field-of-view error half-life in seconds.
teleport_distance: Option<f32>Cut when subject motion between successful updates exceeds this distance.
None disables automatic teleport detection; explicit snaps still work.
obstruction: Option<ObstructionSettings>§shake_strength: f32Set to zero for reduced-motion presentation.
Trait Implementations§
impl Copy for Settings3
impl StructuralPartialEq for Settings3
Auto Trait Implementations§
impl Freeze for Settings3
impl RefUnwindSafe for Settings3
impl Send for Settings3
impl Sync for Settings3
impl Unpin for Settings3
impl UnwindSafe for Settings3
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