pub struct JointSuspension2D {
pub m_Angle: f32,
pub m_DampingRatio: f32,
pub m_Frequency: f32,
}Expand description
JointSuspension2D is a sub class of the Unity engine since version 4.5.0. Exert from Unity’s scripting documentation: Joint suspension is used to define how suspension works on a WheelJoint2D. See Also: WheelJoint2D class.
Fields§
§m_Angle: f32The world angle (in degrees) along which the suspension will move.
m_DampingRatio: f32The amount by which the suspension spring force is reduced in proportion to the movement speed.
m_Frequency: f32The frequency at which the suspension spring oscillates.
Trait Implementations§
Source§impl Debug for JointSuspension2D
impl Debug for JointSuspension2D
Source§impl<'de> Deserialize<'de> for JointSuspension2D
impl<'de> Deserialize<'de> for JointSuspension2D
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 JointSuspension2D
impl RefUnwindSafe for JointSuspension2D
impl Send for JointSuspension2D
impl Sync for JointSuspension2D
impl Unpin for JointSuspension2D
impl UnwindSafe for JointSuspension2D
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