Struct physx_sys::PxContactPatch
source · #[repr(C)]pub struct PxContactPatch {Show 13 fields
pub mMassModification: PxMassModificationProps,
pub normal: PxVec3,
pub restitution: f32,
pub dynamicFriction: f32,
pub staticFriction: f32,
pub damping: f32,
pub startContactIndex: u16,
pub nbContacts: u8,
pub materialFlags: u8,
pub internalFlags: u16,
pub materialIndex0: u16,
pub materialIndex1: u16,
pub pad: [u16; 5],
}
Fields§
§mMassModification: PxMassModificationProps
§normal: PxVec3
§restitution: f32
§dynamicFriction: f32
§staticFriction: f32
§damping: f32
§startContactIndex: u16
§nbContacts: u8
§materialFlags: u8
§internalFlags: u16
§materialIndex0: u16
§materialIndex1: u16
§pad: [u16; 5]
Trait Implementations§
source§impl Clone for PxContactPatch
impl Clone for PxContactPatch
source§fn clone(&self) -> PxContactPatch
fn clone(&self) -> PxContactPatch
Returns a copy 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 more