pub struct FootstepConfig {
pub step_width: f32,
pub step_length: f32,
pub step_height: f32,
pub dreamlets_per_step: u32,
pub fade_time: f32,
pub velocity_threshold: f32,
}Expand description
Configuration for the footstep illusion effect.
Fields§
§step_width: f32Width of each step platform.
step_length: f32Length of each step platform.
step_height: f32Height of each step platform.
dreamlets_per_step: u32Number of dreamlets per step.
fade_time: f32How long each step persists before fading (seconds).
velocity_threshold: f32Step detection: vertical velocity threshold for foot-ground contact.
Trait Implementations§
Source§impl Clone for FootstepConfig
impl Clone for FootstepConfig
Source§fn clone(&self) -> FootstepConfig
fn clone(&self) -> FootstepConfig
Returns a duplicate 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 moreSource§impl Debug for FootstepConfig
impl Debug for FootstepConfig
Source§impl Default for FootstepConfig
impl Default for FootstepConfig
Source§impl<'de> Deserialize<'de> for FootstepConfig
impl<'de> Deserialize<'de> for FootstepConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FootstepConfig
impl RefUnwindSafe for FootstepConfig
impl Send for FootstepConfig
impl Sync for FootstepConfig
impl Unpin for FootstepConfig
impl UnsafeUnpin for FootstepConfig
impl UnwindSafe for FootstepConfig
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