pub enum Falloff {
Constant,
LinearSurface,
}Expand description
Falloff uses signed distance to the nearest child accepted by the query.
Variants§
Constant
LinearSurface
Weight = clamp(1 - max(surface_distance, 0) / radius, 0, 1). A zero-radius point probe gives weight one to every overlapping child.
Trait Implementations§
impl Copy for Falloff
impl Eq for Falloff
impl StructuralPartialEq for Falloff
Auto Trait Implementations§
impl Freeze for Falloff
impl RefUnwindSafe for Falloff
impl Send for Falloff
impl Sync for Falloff
impl Unpin for Falloff
impl UnwindSafe for Falloff
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