pub struct InteractiveCloth {Show 19 fields
pub m_AttachedColliders: Vec<ClothAttachment>,
pub m_AttachmentResponse: f32,
pub m_AttachmentTearFactor: f32,
pub m_BendingStiffness: f32,
pub m_CollisionResponse: f32,
pub m_Damping: f32,
pub m_Density: f32,
pub m_Enabled: u8,
pub m_ExternalAcceleration: Vector3f,
pub m_Friction: f32,
pub m_GameObject: PPtr,
pub m_Mesh: PPtr,
pub m_Pressure: f32,
pub m_RandomAcceleration: Vector3f,
pub m_SelfCollision: bool,
pub m_StretchingStiffness: f32,
pub m_TearFactor: f32,
pub m_Thickness: f32,
pub m_UseGravity: bool,
}Expand description
InteractiveCloth is a class of the Unity engine since version 3.4.0.
Fields§
§m_AttachedColliders: Vec<ClothAttachment>§m_AttachmentResponse: f32§m_AttachmentTearFactor: f32§m_BendingStiffness: f32§m_CollisionResponse: f32§m_Damping: f32§m_Density: f32§m_Enabled: u8§m_ExternalAcceleration: Vector3f§m_Friction: f32§m_GameObject: PPtrPPtr<GameObject>: (3.4.0 - 4.7.2)
m_Mesh: PPtrPPtr<Mesh>: (3.4.0 - 4.7.2)
m_Pressure: f32§m_RandomAcceleration: Vector3f§m_SelfCollision: bool§m_StretchingStiffness: f32§m_TearFactor: f32§m_Thickness: f32§m_UseGravity: boolTrait Implementations§
Source§impl Debug for InteractiveCloth
impl Debug for InteractiveCloth
Source§impl<'de> Deserialize<'de> for InteractiveCloth
impl<'de> Deserialize<'de> for InteractiveCloth
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 InteractiveCloth
impl RefUnwindSafe for InteractiveCloth
impl Send for InteractiveCloth
impl Sync for InteractiveCloth
impl Unpin for InteractiveCloth
impl UnwindSafe for InteractiveCloth
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