pub struct ClothCollider { /* private fields */ }Expand description
PHCC — Cloth collider (v0, 76 bytes)
Capsule-shaped collider used by cloth simulation.
Implementations§
Source§impl ClothCollider
impl ClothCollider
pub fn set_radius(&mut self, value: f32)
pub fn set_height(&mut self, value: f32)
pub fn set_padding(&mut self, value: u32)
Trait Implementations§
Source§impl Debug for ClothCollider
impl Debug for ClothCollider
Source§impl Default for ClothCollider
impl Default for ClothCollider
Source§impl Drop for ClothCollider
impl Drop for ClothCollider
impl Send for ClothCollider
Auto Trait Implementations§
impl !Sync for ClothCollider
impl Freeze for ClothCollider
impl RefUnwindSafe for ClothCollider
impl Unpin for ClothCollider
impl UnsafeUnpin for ClothCollider
impl UnwindSafe for ClothCollider
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