Struct physx_sys::PxContactPatch
source · #[repr(C)]pub struct PxContactPatch {
pub mMassModification: PxMassModificationProps,
pub normal: PxVec3,
pub restitution: f32,
pub dynamicFriction: f32,
pub staticFriction: f32,
pub startContactIndex: u8,
pub nbContacts: u8,
pub materialFlags: u8,
pub internalFlags: u8,
pub materialIndex0: u16,
pub materialIndex1: u16,
}Fields§
§mMassModification: PxMassModificationProps§normal: PxVec3§restitution: f32§dynamicFriction: f32§staticFriction: f32§startContactIndex: u8§nbContacts: u8§materialFlags: u8§internalFlags: u8§materialIndex0: u16§materialIndex1: u16Trait 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